From e59900d906bb1f8c25b3fdde64bd8c9a515286f6 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sat, 10 Apr 2021 03:53:48 +0200 Subject: [PATCH] Small fix --- UI/BigComponents/AttributionPanel.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UI/BigComponents/AttributionPanel.ts b/UI/BigComponents/AttributionPanel.ts index 30b2fd4..343425e 100644 --- a/UI/BigComponents/AttributionPanel.ts +++ b/UI/BigComponents/AttributionPanel.ts @@ -10,6 +10,7 @@ import * as licenses from "../../assets/generated/license_info.json" import SmallLicense from "../../Models/smallLicense"; import {Icon} from "leaflet"; import Img from "../Base/Img"; +import {Utils} from "../../Utils"; /** * The attribution panel shown on mobile @@ -28,7 +29,8 @@ export default class AttributionPanel extends Combine { new Attribution(undefined, undefined, State.state.layoutToUse, undefined), "
", Translations.t.general.attribution.iconAttribution.title.Clone().SetClass("font-bold pt-12 pb-3"), - ...Array.from(layoutToUse.data.ExtractImages()).map(AttributionPanel.IconAttribution) + ...Utils.NoNull(Array.from(layoutToUse.data.ExtractImages())) + .map(AttributionPanel.IconAttribution) ]); this.SetClass("flex flex-col") }