Add minimal charging_stations theme

This commit is contained in:
Pieter Vander Vennet 2020-10-23 19:26:08 +02:00
parent 9c474dfb06
commit 80a5e8d342
6 changed files with 192 additions and 1 deletions

View file

@ -524,6 +524,9 @@ export class TagRendering extends UIElement implements TagDependantUIElement {
private ApplyTemplate(template: string | Translation): UIElement {
const tr = Translations.WT(template);
if(tr === undefined){
return undefined;
}
if (this.answerCache[tr.id]) {
return this.answerCache[tr.id];
}