Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: correct the storage service state (#1288)

Zeng1998c1903df374cf
diff --git a/web/src/components/Settings/StorageSection.tsx b/web/src/components/Settings/StorageSection.tsx
index f28c63b6c..78244416b 100644
--- a/web/src/components/Settings/StorageSection.tsx
+++ b/web/src/components/Settings/StorageSection.tsx
@@ -35,6 +35,7 @@ const StorageSection = () => {
name: "storageServiceId",
value: JSON.stringify(storageId),
});
+ await globalStore.fetchSystemStatus();
setStorageServiceId(storageId);
};