Skip to content

Commit

Permalink
[#noissue] Change last-selected app setting key
Browse files Browse the repository at this point in the history
- export some common packages
  • Loading branch information
binDongKim committed Apr 12, 2024
1 parent 0468798 commit 2780ee1
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ export enum APP_SETTING_KEYS {
TRANSACTION_DETAIL_RESIZABLE = 'transactionDetailResizable',
SERVER_MAP_HORIZONTAL_RESIZABLE = 'serverMapHorizontalResizable',
REALTIME_ACTIVE_REQUEST_RESIZABLE = 'realtimeActiveRequestResizable',
ALARM_LAST_SELECTED_APPLICATION = 'alarmLastSelectedApplication',
CONFIG_LAST_SELECTED_APPLICATION = 'configLastSelectedApplication',
}
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './ErrorBoundary';
export * from './ErrorToast';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './Optional';
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export * from './accordion';
export * from './alert';
export * from './alert-dialog';
export * from './badge';
export * from './button';
export * from './button-group';
Expand All @@ -16,6 +17,7 @@ export * from './label';
export * from './popover';
export * from './radio-group';
export * from './resizable';
export * from './scroll-area';
export * from './select';
export * from './separator';
export * from './sheet';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const AlarmPage = ({
const { t } = useTranslation();
const [selectedApplication, setSelectedApplication] = useLocalStorage<
ApplicationType | undefined
>(APP_SETTING_KEYS.ALARM_LAST_SELECTED_APPLICATION, undefined);
>(APP_SETTING_KEYS.CONFIG_LAST_SELECTED_APPLICATION, undefined);
const [isEditable, setEditable] = React.useState(false);
const [currentDeletingTarget, setCurrentDeletingTarget] =
React.useState<AlarmRule.AlarmRuleData>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const WebhookPage = ({ ApplicationList = ApplicationCombinedList }: Webho
const { t } = useTranslation();
const [selectedApplication, setSelectedApplication] = useLocalStorage<
ApplicationType | undefined
>(APP_SETTING_KEYS.ALARM_LAST_SELECTED_APPLICATION, undefined);
>(APP_SETTING_KEYS.CONFIG_LAST_SELECTED_APPLICATION, undefined);
const [isEditable, setEditable] = React.useState(false);
const [currentDeletingTarget, setCurrentDeletingTarget] = React.useState<Webhook.WebhookData>();
const [currentTargetWebhookData, setCurrentTargetWebhookData] =
Expand Down

0 comments on commit 2780ee1

Please sign in to comment.