mirror of
https://github.com/usememos/memos.git
synced 2024-11-23 22:07:47 +03:00
chore: tweak memo relation popover
This commit is contained in:
parent
18db78172c
commit
1ae3afc0ba
@ -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 @@
|
|||||||
},
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"about": "About",
|
"about": "About",
|
||||||
|
"add": "Add",
|
||||||
"admin": "Admin",
|
"admin": "Admin",
|
||||||
"archive": "Archive",
|
"archive": "Archive",
|
||||||
"archived": "Archived",
|
"archived": "Archived",
|
||||||
|
Loading…
Reference in New Issue
Block a user