automatically reload data after changed display order

This commit is contained in:
MaysWind
2026-03-01 22:25:44 +08:00
parent f5a7e2e2d6
commit 4845fdedfd
5 changed files with 36 additions and 24 deletions
+6 -4
View File
@@ -1069,11 +1069,13 @@ export const useExplorersStore = defineStore('explorers', () => {
return;
}
if (insightsExplorerListStateInvalid.value) {
updateInsightsExplorerListInvalidState(false);
}
loadAllInsightsExplorerBasicInfos({ force: false }).finally(() => {
if (insightsExplorerListStateInvalid.value) {
updateInsightsExplorerListInvalidState(false);
}
resolve(data.result);
resolve(data.result);
});
}).catch(error => {
logger.error('failed to save explorers display order', error);