diff --git a/web/src/components/Settings/StorageSection.tsx b/web/src/components/Settings/StorageSection.tsx index 8f36c682..76d31718 100644 --- a/web/src/components/Settings/StorageSection.tsx +++ b/web/src/components/Settings/StorageSection.tsx @@ -63,7 +63,7 @@ const StorageSection = () => { className="w-full mb-4" value={storageServiceId} onChange={(_, storageId) => { - handleActiveStorageServiceChanged(storageId || 0); + handleActiveStorageServiceChanged(storageId ?? storageServiceId); }} >