Merge pull request #9002 from streetwriters/web/new-note-properties-pane

web: release space taken by properties pane for new note/tab
This commit is contained in:
Abdullah Atta
2025-12-03 14:01:34 +05:00
committed by GitHub

View File

@@ -226,7 +226,9 @@ export default function TabsView() {
<TableOfContents sessionId={activeSession.id} />
</Pane>
) : null}
{arePropertiesVisible && activeSession && (
{arePropertiesVisible &&
activeSession &&
activeSession.type !== "new" && (
<Pane id="properties-pane" initialSize={250} minSize={250}>
<Properties sessionId={activeSession.id} />
</Pane>