diff --git a/web/src/pages/Edit/components/FormulaSidebar.vue b/web/src/pages/Edit/components/FormulaSidebar.vue index 114025ef..bf95acac 100644 --- a/web/src/pages/Edit/components/FormulaSidebar.vue +++ b/web/src/pages/Edit/components/FormulaSidebar.vue @@ -89,7 +89,7 @@ export default { handleNodeActive(...args) { this.activeNodes = [...args[1]] - if (this.activeNodes.length <= 0) { + if (this.activeNodes.length <= 0 && this.activeSidebar === 'formulaSidebar') { this.setActiveSidebar(null) } },