Compare commits

...

2 Commits

Author SHA1 Message Date
Peter Bastiani b060fd34bb Merge branch 'develop' of https://git.akkerweb.nl/FarmMaps/FarmMapsLib into develop
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good Details
2024-02-01 16:21:20 +01:00
Peter Bastiani 0694d4e467 Aw5812Fix null exc 2024-02-01 16:20:57 +01:00
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ export class SidePanelComponent implements OnChanges {
@Input() public collapsable: boolean;
@Input() public resizeable = false;
@Input() public left = false;
@Input() public extrawide = false;
@Input() public extrawide: boolean;
@Output() onResize: EventEmitter<number> = new EventEmitter<number>();
@ViewChild("resizeGrip") elementView: ElementRef;
public mobile = true;
@ -42,7 +42,7 @@ export class SidePanelComponent implements OnChanges {
}
ngAfterViewInit() {
this.parentHeight = this.element.nativeElement.offsetParent.clientHeight;
this.parentHeight = this.element.nativeElement.offsetParent?.clientHeight;
this.setTop();
}