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: don't render properties panel for locked sessions Signed-off-by: 01zulfi <[email protected]>
01zulfi94dbec4486d1
diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsxindex 1dc6bf684..77c49c9c4 100644--- a/apps/web/src/components/editor/index.tsx+++ b/apps/web/src/components/editor/index.tsx@@ -229,7 +229,8 @@ export default function TabsView() {) : null}{arePropertiesVisible &&activeSession &&- activeSession.type !== "new" && (+ activeSession.type !== "new" &&+ activeSession.type !== "locked" && (<Pane id="properties-pane" initialSize={250} minSize={250}><Properties sessionId={activeSession.id} /></Pane>