Try to fix exception
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma 2020-05-21 18:28:03 +02:00
parent d56cfa805b
commit 454dc26128

View File

@ -8,7 +8,7 @@ import { IItemLayer } from '../../../models/item.layer';
}) })
export class LayerListComponent { export class LayerListComponent {
@Input() itemLayers: IItemLayer[]; @Input() itemLayers: IItemLayer[] = [];
@Input() baseLayers: boolean = false; @Input() baseLayers: boolean = false;
@Output() onToggleVisibility = new EventEmitter<IItemLayer>(); @Output() onToggleVisibility = new EventEmitter<IItemLayer>();
@Output() onSetOpacity = new EventEmitter<{layer: IItemLayer,opacity:number }>(); @Output() onSetOpacity = new EventEmitter<{layer: IItemLayer,opacity:number }>();