Fix side panel display logic
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
208dfed7fb
commit
2606de5f0a
@ -240,9 +240,12 @@ export class MapComponent implements OnInit, OnDestroy,AfterViewInit {
|
|||||||
|
|
||||||
ngAfterViewInit() {
|
ngAfterViewInit() {
|
||||||
console.debug("View init");
|
console.debug("View init");
|
||||||
if(this.route.children.length == 0) {
|
this.noContent=true;
|
||||||
this.noContent=true;
|
this.route.children.forEach((entry) => {
|
||||||
}
|
if(entry.outlet=="") {
|
||||||
|
this.noContent=false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
this.initCustomStyles();
|
this.initCustomStyles();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user