fix: replicas, ready_replicas sorting
This commit is contained in:
@@ -8,6 +8,7 @@ type UserSettings = {
|
||||
colorPrimary: string;
|
||||
isDarkTheme: boolean;
|
||||
collapsed: boolean;
|
||||
hideAddResourceModal?: boolean;
|
||||
};
|
||||
|
||||
const defaultSettings: UserSettings = {
|
||||
@@ -15,7 +16,8 @@ const defaultSettings: UserSettings = {
|
||||
mode: 'auto',
|
||||
isDarkTheme: false,
|
||||
colorPrimary: COLOR_PRIMARY,
|
||||
collapsed: false
|
||||
collapsed: false,
|
||||
hideAddResourceModal: false
|
||||
};
|
||||
|
||||
export const getStorageUserSettings = () => {
|
||||
|
||||
@@ -9,6 +9,7 @@ export const clearStorageUserSettings = () => {
|
||||
'userSettings',
|
||||
JSON.stringify({
|
||||
...savedSettings,
|
||||
hideAddResourceModal: false,
|
||||
colorPrimary: undefined
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user