fix: properties should close when editor is closed

This commit is contained in:
thecodrr
2021-01-13 00:45:46 +05:00
parent e250c3101e
commit df3424b733

View File

@@ -151,6 +151,7 @@ class EditorStore extends BaseStore {
};
});
noteStore.setSelectedNote(0);
this.toggleProperties(false);
if (shouldNavigate) hashNavigate(`/`, true);
};