chore: allow viewing note history as readonly member

This commit is contained in:
Aman Harwara
2023-09-22 19:48:49 +05:30
parent ab1699c114
commit e357a7820c
3 changed files with 13 additions and 4 deletions

View File

@@ -230,7 +230,7 @@ const NotesOptions = ({ notes, closeMenu }: NotesOptionsProps) => {
<>
{notes.length === 1 && (
<>
<MenuItem onClick={openRevisionHistoryModal} disabled={areSomeNotesInReadonlySharedVault}>
<MenuItem onClick={openRevisionHistoryModal}>
<Icon type="history" className={iconClass} />
Note history
{historyShortcut && <KeyboardShortcutIndicator className="ml-auto" shortcut={historyShortcut} />}