Add a big update to the charging station theme

This commit is contained in:
Pieter Vander Vennet 2021-09-06 01:35:08 +02:00
parent 03d801733b
commit 96c11badaf
17 changed files with 2035 additions and 343 deletions

View file

@ -173,8 +173,9 @@ export class Utils {
if (!tags.hasOwnProperty(key)) {
continue
}
txt = txt.replace(new RegExp("{" + key + "}", "g"), tags[key])
txt = txt.replace(new RegExp("{" + key + "}", "g"), tags[key] ?? "")
}
txt = txt.replace(new RegExp('{.*}', "g"), "")
return txt;
}