From df3424b7335e98806795db5517865853e799eeae Mon Sep 17 00:00:00 2001 From: thecodrr Date: Wed, 13 Jan 2021 00:45:46 +0500 Subject: [PATCH] fix: properties should close when editor is closed --- apps/web/src/stores/editor-store.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/stores/editor-store.js b/apps/web/src/stores/editor-store.js index 074eab090..2b08f45fe 100644 --- a/apps/web/src/stores/editor-store.js +++ b/apps/web/src/stores/editor-store.js @@ -151,6 +151,7 @@ class EditorStore extends BaseStore { }; }); noteStore.setSelectedNote(0); + this.toggleProperties(false); if (shouldNavigate) hashNavigate(`/`, true); };