forked from MapComplete/MapComplete
Fix improperly initialized component
This commit is contained in:
parent
03a45b6077
commit
efd1f5467b
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue