chore: tweak memo relation popover

This commit is contained in:
Steven 2024-08-14 23:15:04 +08:00
parent 18db78172c
commit 1ae3afc0ba
2 changed files with 4 additions and 5 deletions

View File

@ -168,12 +168,10 @@ const AddMemoRelationPopover = (props: Props) => {
} }
onChange={(_, value) => setSelectedMemos(value)} onChange={(_, value) => setSelectedMemos(value)}
/> />
<div className="mt-2"> <div className="mt-2 w-full flex flex-row justify-end items-center gap-2">
<Checkbox size="sm" label={t("reference.embedded-usage")} checked={embedded} onChange={(e) => setEmbedded(e.target.checked)} /> <Checkbox size="sm" label={"Embed"} checked={embedded} onChange={(e) => setEmbedded(e.target.checked)} />
</div>
<div className="mt-1 w-full flex flex-row justify-start items-center space-x-1">
<Button size="sm" onClick={addMemoRelations} disabled={selectedMemos.length === 0}> <Button size="sm" onClick={addMemoRelations} disabled={selectedMemos.length === 0}>
{t("common.confirm")} {t("common.add")}
</Button> </Button>
</div> </div>
</div> </div>

View File

@ -9,6 +9,7 @@
}, },
"common": { "common": {
"about": "About", "about": "About",
"add": "Add",
"admin": "Admin", "admin": "Admin",
"archive": "Archive", "archive": "Archive",
"archived": "Archived", "archived": "Archived",