Merge pull request #1071 from eMerzh/fix_etymology

fix: correct maybe missing option in etymology layer
This commit is contained in:
Pieter Vander Vennet 2022-09-08 04:33:56 +02:00 committed by GitHub
commit 99a12a040b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,7 +108,7 @@ export default class WikidataPreviewBox extends VariableUiElement {
link]).SetClass("flex justify-between"),
Translation.fromMap(wikidata.descriptions),
WikidataPreviewBox.QuickFacts(wikidata, options),
...(options.extraItems ?? [])
...(options?.extraItems ?? [])
]).SetClass("flex flex-col link-underline")