Commit 1ae3afc0 authored by Steven's avatar Steven

chore: tweak memo relation popover

parent 18db7817
...@@ -168,12 +168,10 @@ const AddMemoRelationPopover = (props: Props) => { ...@@ -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>
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
}, },
"common": { "common": {
"about": "About", "about": "About",
"add": "Add",
"admin": "Admin", "admin": "Admin",
"archive": "Archive", "archive": "Archive",
"archived": "Archived", "archived": "Archived",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment