diff --git a/src/app/working-area/working-area.component.ts b/src/app/working-area/working-area.component.ts index a43f6ef..18a35f5 100644 --- a/src/app/working-area/working-area.component.ts +++ b/src/app/working-area/working-area.component.ts @@ -513,6 +513,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV this.processinghiddenData(); } this.createFloorShape(this.canvasData.originaleveryStoreyData.data); + console.log(this.canvasData.selectStorey); this.createNodeShape(this.canvasData.selectPanelPoint.Data); } /** @@ -520,7 +521,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV */ public processinghiddenData() { for (let key in this.canvasData.originaleveryStoreyData.data){ - if (this.canvasData.hiddenBasicInfoFacilities.indexOf(key)) { + if (this.canvasData.hiddenBasicInfoFacilities.indexOf(key)!==-1) { delete this.canvasData.originaleveryStoreyData.data[key]; } }