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,11 +226,13 @@ export default function TabsView() {
<TableOfContents sessionId={activeSession.id} />
</Pane>
) : null}
{arePropertiesVisible && activeSession && (
<Pane id="properties-pane" initialSize={250} minSize={250}>
<Properties sessionId={activeSession.id} />
</Pane>
)}
{arePropertiesVisible &&
activeSession &&
activeSession.type !== "new" && (
<Pane id="properties-pane" initialSize={250} minSize={250}>
<Properties sessionId={activeSession.id} />
</Pane>
)}
</SplitPane>
<DropZone overlayRef={overlayRef} />
</ScopedThemeProvider>