mirror of
https://github.com/usememos/memos.git
synced 2025-10-23 04:36:25 +08:00
fix: unexpected reset of the storage setting (#1475)
This commit is contained in:
parent
8c2224ae39
commit
6ceafc1827
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ const StorageSection = () => {
|
|||
className="w-full mb-4"
|
||||
value={storageServiceId}
|
||||
onChange={(_, storageId) => {
|
||||
handleActiveStorageServiceChanged(storageId || 0);
|
||||
handleActiveStorageServiceChanged(storageId ?? storageServiceId);
|
||||
}}
|
||||
>
|
||||
<Option value={0}>Database</Option>
|
||||
|
|
Loading…
Add table
Reference in a new issue