web: disable properties button in action bar when diff is open

This commit is contained in:
Abdullah Atta
2024-03-07 15:01:08 +05:00
parent 1825796649
commit 9c81432dfd

View File

@@ -114,6 +114,7 @@ export function EditorActionBar() {
activeSession.type !== "new" &&
activeSession.type !== "readonly" &&
activeSession.type !== "locked" &&
activeSession.type !== "diff" &&
!isFocusMode,
onClick: () => useEditorStore.getState().toggleProperties()
}