Fix copyrightpanel

This commit is contained in:
Pieter Vander Vennet 2023-02-03 03:56:31 +01:00
parent b728cbd90a
commit df3ca4cce3

View file

@ -123,7 +123,9 @@ export default class CopyrightPanel extends Combine {
const t = Translations.t.general.attribution
const layoutToUse = state.layoutToUse
const iconAttributions = layoutToUse.usedImages.map(CopyrightPanel.IconAttribution)
const iconAttributions: BaseUIElement[] = layoutToUse.usedImages.map(
CopyrightPanel.IconAttribution
)
let maintainer: BaseUIElement = undefined
if (layoutToUse.credits !== undefined && layoutToUse.credits !== "") {