mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: add data empty placeholder (#1913)
This commit is contained in:
@ -8,7 +8,7 @@ import showCreateStorageServiceDialog from "../CreateStorageServiceDialog";
|
||||
import showUpdateLocalStorageDialog from "../UpdateLocalStorageDialog";
|
||||
import Dropdown from "../kit/Dropdown";
|
||||
import { showCommonDialog } from "../Dialog/CommonDialog";
|
||||
import HelpButton from "../kit/HelpButton";
|
||||
import LearnMore from "../LearnMore";
|
||||
|
||||
const StorageSection = () => {
|
||||
const { t } = useTranslation();
|
||||
@ -76,7 +76,7 @@ const StorageSection = () => {
|
||||
<Divider />
|
||||
<div className="mt-4 mb-2 w-full flex flex-row justify-start items-center gap-1">
|
||||
<span className="font-mono text-sm text-gray-400">{t("setting.storage-section.storage-services-list")}</span>
|
||||
<HelpButton className="btn" icon="info" url="https://usememos.com/docs/storage" />
|
||||
<LearnMore url="https://usememos.com/docs/storage" />
|
||||
<button className="btn-normal px-2 py-0 ml-1" onClick={() => showCreateStorageServiceDialog(undefined, fetchStorageList)}>
|
||||
{t("common.create")}
|
||||
</button>
|
||||
|
Reference in New Issue
Block a user