From c5f15be8cb1ba49c70d0995496bcccb4a8705d25 Mon Sep 17 00:00:00 2001 From: Darshan Poudel Date: Fri, 10 May 2024 09:07:52 +0545 Subject: [PATCH] fix(bug): properties-panel-issue-on-deletion --- src/components/Panels/PropertiesPanel/PropertiesPanel.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/Panels/PropertiesPanel/PropertiesPanel.vue b/src/components/Panels/PropertiesPanel/PropertiesPanel.vue index 368c5b79..ec7bc6c7 100644 --- a/src/components/Panels/PropertiesPanel/PropertiesPanel.vue +++ b/src/components/Panels/PropertiesPanel/PropertiesPanel.vue @@ -33,9 +33,6 @@ function showPropertiesPanel() { if (toRaw(propertiesPanelObj.value) == simulationArea.lastSelected) return prevPropertyObjSet(simulationArea.lastSelected) propertiesPanelObj.value = simulationArea.lastSelected - if(simulationArea.lastSelected.newElement) { - simulationArea.lastSelected.label = "" - } // there are 3 types of panel body for Properties Panel // depending upon which is last selected // 1. Properties Panel in Layout mode