forked from MapComplete/MapComplete
Fix import helper
This commit is contained in:
parent
ae68a09775
commit
244e4c294d
3 changed files with 3 additions and 12 deletions
|
@ -87,7 +87,7 @@ export class MapPreview extends Combine implements FlowStep<{ bbox: BBox, layer:
|
|||
|
||||
const matching: UIEventSource<{ properties: any, geometry: { coordinates: [number, number] } }[]> = layerPicker.GetValue().map((layer: LayerConfig) => {
|
||||
if (layer === undefined) {
|
||||
return undefined;
|
||||
return [];
|
||||
}
|
||||
const matching: { properties: any, geometry: { coordinates: [number, number] } }[] = []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue