diff --git a/projects/common-map/src/fm-map/components/map/map.component.ts b/projects/common-map/src/fm-map/components/map/map.component.ts index 9ae99e8..d1b0b87 100644 --- a/projects/common-map/src/fm-map/components/map/map.component.ts +++ b/projects/common-map/src/fm-map/components/map/map.component.ts @@ -209,7 +209,7 @@ export class MapComponent implements OnInit, OnDestroy,AfterViewInit { if(component && component.hasOwnProperty('clickedFeature')) { (component as IClickedFeature).clickedFeature = this.clickedFeature; } - if(component && component.hasOwnProperty('extraWide')) { + if(component && component.hasOwnProperty('extrawide')) { this.store.dispatch(new mapActions.SetPanelExtraWide(true)); } } @@ -218,6 +218,9 @@ export class MapComponent implements OnInit, OnDestroy,AfterViewInit { if(component && component.hasOwnProperty('clickedFeature')) { (component as IClickedFeature).clickedFeature = null; } + if(component && component.hasOwnProperty('extrawide')) { + this.store.dispatch(new mapActions.SetPanelExtraWide(false)); + } } handlePrerender(event:any) { diff --git a/projects/common/src/fm/components/side-panel/side-panel.component.html b/projects/common/src/fm/components/side-panel/side-panel.component.html index 4127fc4..7c8930f 100644 --- a/projects/common/src/fm/components/side-panel/side-panel.component.html +++ b/projects/common/src/fm/components/side-panel/side-panel.component.html @@ -1,4 +1,4 @@ -