From 9c81432dfd402a878b0975b7d597ea1392725a66 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Thu, 7 Mar 2024 15:01:08 +0500 Subject: [PATCH] web: disable properties button in action bar when diff is open --- apps/web/src/components/editor/action-bar.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/components/editor/action-bar.tsx b/apps/web/src/components/editor/action-bar.tsx index 47236443d..f3022f294 100644 --- a/apps/web/src/components/editor/action-bar.tsx +++ b/apps/web/src/components/editor/action-bar.tsx @@ -114,6 +114,7 @@ export function EditorActionBar() { activeSession.type !== "new" && activeSession.type !== "readonly" && activeSession.type !== "locked" && + activeSession.type !== "diff" && !isFocusMode, onClick: () => useEditorStore.getState().toggleProperties() }