A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: release space taken by properties pane for new note/tab Signed-off-by: 01zulfi <[email protected]>
01zulfif7914c57c7a3
diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsxindex 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() {<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>