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>
|
||||
|
||||
{isReadOnly && <>
|
||||
<FormListItem icon="bx bx-pencil" onClick={() => enableEditing()}>
|
||||
{t("read-only-info.edit-note")}
|
||||
</FormListItem>
|
||||
<CommandItem icon="bx bx-pencil" text={t("read-only-info.edit-note")}
|
||||
command={() => enableEditing()} />
|
||||
<FormDropdownDivider />
|
||||
</>}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user