mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: unexpected reset of the storage setting (#1475)
This commit is contained in:
@ -63,7 +63,7 @@ const StorageSection = () => {
|
|||||||
className="w-full mb-4"
|
className="w-full mb-4"
|
||||||
value={storageServiceId}
|
value={storageServiceId}
|
||||||
onChange={(_, storageId) => {
|
onChange={(_, storageId) => {
|
||||||
handleActiveStorageServiceChanged(storageId || 0);
|
handleActiveStorageServiceChanged(storageId ?? storageServiceId);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Option value={0}>Database</Option>
|
<Option value={0}>Database</Option>
|
||||||
|
Reference in New Issue
Block a user