forked from MapComplete/MapComplete
Fix build
This commit is contained in:
parent
3f882ff24f
commit
911675c509
2 changed files with 9 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue