fix: unexpected reset of the storage setting (#1475)

pull/1477/head
Zeng1998 2 years ago committed by GitHub
parent 8c2224ae39
commit 6ceafc1827
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save