mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update default storage back to database
This commit is contained in:
@ -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} />
|
||||
))}
|
||||
|
Reference in New Issue
Block a user