mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 16:39:02 +01:00
client: refactor
This commit is contained in:
parent
30c1708979
commit
9011d648b5
@ -64,9 +64,8 @@ function NoteContextMenu({ note, noteContext }: { note: FNote, noteContext?: Not
|
|||||||
iconAction>
|
iconAction>
|
||||||
|
|
||||||
{isReadOnly && <>
|
{isReadOnly && <>
|
||||||
<FormListItem icon="bx bx-pencil" onClick={() => enableEditing()}>
|
<CommandItem icon="bx bx-pencil" text={t("read-only-info.edit-note")}
|
||||||
{t("read-only-info.edit-note")}
|
command={() => enableEditing()} />
|
||||||
</FormListItem>
|
|
||||||
<FormDropdownDivider />
|
<FormDropdownDivider />
|
||||||
</>}
|
</>}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user