-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: refactor global map and aside view for alerts
- Loading branch information
Showing
30 changed files
with
417 additions
and
998 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
export function booleanValueSelector(option: { value: boolean }) { | ||
return option.value; | ||
} | ||
export function numericValueSelector(option: { value: number }) { | ||
return option.value; | ||
} | ||
export function stringValueSelector(option: { value: string }) { | ||
return option.value; | ||
} | ||
|
||
export function stringLabelSelector(option: { label: string }) { | ||
return option.label; | ||
} | ||
|
||
export function numericIdSelector(option: { id: number }) { | ||
return option.id; | ||
} | ||
|
||
export function stringIdSelector(option: { id: string }) { | ||
return option.id; | ||
} | ||
|
||
export function stringNameSelector(option: { name: string }) { | ||
return option.name; | ||
} | ||
|
||
export function stringTitleSelector(option: { title: string }) { | ||
return option.title; | ||
} | ||
|
||
export function stringKeySelector(option: { key: string }) { | ||
return option.key; | ||
} | ||
|
||
export function numericKeySelector(option: { key: number }) { | ||
return option.key; | ||
} | ||
|
||
export function numericCountSelector(option: { count: number }) { | ||
return option.count; | ||
} |
37 changes: 0 additions & 37 deletions
37
src/views/Home/AlertMap/AlertListItem/AlertDetail/index.tsx
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.