mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-20 21:49:32 +01:00
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:
@@ -226,7 +226,9 @@ export default function TabsView() {
|
|||||||
<TableOfContents sessionId={activeSession.id} />
|
<TableOfContents sessionId={activeSession.id} />
|
||||||
</Pane>
|
</Pane>
|
||||||
) : null}
|
) : null}
|
||||||
{arePropertiesVisible && activeSession && (
|
{arePropertiesVisible &&
|
||||||
|
activeSession &&
|
||||||
|
activeSession.type !== "new" && (
|
||||||
<Pane id="properties-pane" initialSize={250} minSize={250}>
|
<Pane id="properties-pane" initialSize={250} minSize={250}>
|
||||||
<Properties sessionId={activeSession.id} />
|
<Properties sessionId={activeSession.id} />
|
||||||
</Pane>
|
</Pane>
|
||||||
|
|||||||
Reference in New Issue
Block a user