fix: replicas, ready_replicas sorting

This commit is contained in:
jialin
2025-12-23 18:35:33 +08:00
parent 9e019a98f6
commit 530e8f7537
18 changed files with 106 additions and 77 deletions
+3 -1
View File
@@ -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 = () => {
+1
View File
@@ -9,6 +9,7 @@ export const clearStorageUserSettings = () => {
'userSettings',
JSON.stringify({
...savedSettings,
hideAddResourceModal: false,
colorPrimary: undefined
})
);