mirror of
https://github.com/usememos/memos.git
synced 2024-12-19 00:51:30 +03:00
fix: unexpected reset of the storage setting (#1475)
This commit is contained in:
parent
8c2224ae39
commit
6ceafc1827
@ -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…
Reference in New Issue
Block a user