Fix small bug

This commit is contained in:
Pieter Vander Vennet 2020-07-29 21:57:31 +02:00
parent 539931d011
commit 1af27106f9

View file

@ -212,7 +212,7 @@ for (const layer of layoutToUse.layers) {
const flayer = FilteredLayer.fromDefinition(layer, bm, allElements, changes, osmConnection.userDetails, selectedElement, generateInfo);
for (const preset of layer.presets) {
for (const preset of layer.presets ?? []) {
if (preset.icon === undefined) {
const tags = {};