Robustify morescreen, remove unused var

This commit is contained in:
Pieter Vander Vennet 2021-07-12 13:38:38 +02:00
parent ede3227389
commit b9e15697f4
2 changed files with 4 additions and 1 deletions

View file

@ -98,7 +98,6 @@ class LayerOverviewUtils {
}
let themeErrorCount = []
let missingTranslations = []
for (const themeFile of themeFiles) {
if (typeof themeFile.language === "string") {
themeErrorCount.push("The theme " + themeFile.id + " has a string as language. Please use a list of strings")