From f7914c57c7a3a53eafc1f8bf9497048cd4a6350f Mon Sep 17 00:00:00 2001
From: 01zulfi <85733202+01zulfi@users.noreply.github.com>
Date: Wed, 26 Nov 2025 16:49:17 +0500
Subject: [PATCH] web: release space taken by properties pane for new note/tab
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
---
apps/web/src/components/editor/index.tsx | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsx
index c2ac8d340..958e8ced6 100644
--- a/apps/web/src/components/editor/index.tsx
+++ b/apps/web/src/components/editor/index.tsx
@@ -226,11 +226,13 @@ export default function TabsView() {
) : null}
- {arePropertiesVisible && activeSession && (
-
-
-
- )}
+ {arePropertiesVisible &&
+ activeSession &&
+ activeSession.type !== "new" && (
+
+
+
+ )}