Unverified Commit 6ceafc18 authored by Zeng1998's avatar Zeng1998 Committed by GitHub

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

parent 8c2224ae
...@@ -63,7 +63,7 @@ const StorageSection = () => { ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment