Fix build

This commit is contained in:
Pieter Vander Vennet 2021-09-15 12:56:52 +02:00
parent 3f882ff24f
commit 911675c509
2 changed files with 9 additions and 1 deletions

View file

@ -83,7 +83,7 @@ export default class SimpleMetaTagger {
},
(feature => {
const units = State.state?.layoutToUse?.data?.units ?? [];
const units = [].concat(Utils.NoNull(State.state?.layoutToUse?.data?.layers?.map(layer => layer.units)));
let rewritten = false;
for (const key in feature.properties) {
if (!feature.properties.hasOwnProperty(key)) {