mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-02 12:14:48 +02:00
web: disable properties button in action bar when diff is open
This commit is contained in:
@@ -114,6 +114,7 @@ export function EditorActionBar() {
|
||||
activeSession.type !== "new" &&
|
||||
activeSession.type !== "readonly" &&
|
||||
activeSession.type !== "locked" &&
|
||||
activeSession.type !== "diff" &&
|
||||
!isFocusMode,
|
||||
onClick: () => useEditorStore.getState().toggleProperties()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user