From 911675c509ce2df9ddfa1c737393cc92342558c7 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 15 Sep 2021 12:56:52 +0200 Subject: [PATCH] Fix build --- Logic/SimpleMetaTagger.ts | 2 +- assets/svg/license_info.json | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Logic/SimpleMetaTagger.ts b/Logic/SimpleMetaTagger.ts index 38f59777b6..4b00c2f409 100644 --- a/Logic/SimpleMetaTagger.ts +++ b/Logic/SimpleMetaTagger.ts @@ -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)) { diff --git a/assets/svg/license_info.json b/assets/svg/license_info.json index e0f75ad427..f8e8840dbd 100644 --- a/assets/svg/license_info.json +++ b/assets/svg/license_info.json @@ -275,6 +275,14 @@ ], "sources": [] }, + { + "path": "blocked.svg", + "license": "CC0", + "authors": [ + "Pieter Vander Vennet" + ], + "sources": [] + }, { "path": "bug.svg", "license": "MIT",