Fix improperly initialized component

This commit is contained in:
pietervdvn 2022-08-30 20:26:06 +02:00
parent 03a45b6077
commit efd1f5467b

View file

@ -159,6 +159,7 @@ export class LayerFilterPanel extends Combine {
public constructor(state: any, flayer: FilteredLayer) {
const layer = flayer.layerDef
if (layer.filters.length === 0) {
super([])
return undefined;
}