chore: update default storage back to database

This commit is contained in:
Steven
2023-10-05 13:36:33 +08:00
parent 077bf95425
commit 34ae9b0687
7 changed files with 23 additions and 12 deletions

View File

@ -66,13 +66,13 @@ const StorageSection = () => {
handleActiveStorageServiceChanged(Number(event.target.value));
}}
>
<div className="w-full flex flex-row justify-start items-center gap-x-2">
<Radio value={"0"} label={t("setting.storage-section.type-database")} />
<div className="w-full mt-2 flex flex-row justify-start items-center gap-x-2">
<Radio value={"-1"} label={t("setting.storage-section.type-local")} />
<IconButton size="sm" onClick={() => showUpdateLocalStorageDialog(systemStatus.localStoragePath)}>
<Icon.PenBox className="w-4 h-auto" />
</IconButton>
</div>
<Radio value={"0"} label={t("setting.storage-section.type-database")} />
{storageList.map((storage) => (
<Radio key={storage.id} value={storage.id} label={storage.name} />
))}