forked from MapComplete/MapComplete
Fix rendering of questions, they update now with the tags
This commit is contained in:
parent
0b28c5d319
commit
3179e59f53
3 changed files with 8 additions and 5 deletions
|
|
@ -29,7 +29,12 @@ export class SubstitutedTranslation extends UIElement {
|
|||
this.translation = translation;
|
||||
this.tags = tags;
|
||||
const self = this;
|
||||
Locale.language.addCallbackAndRun(() => {
|
||||
tags.addCallbackAndRun(() => {
|
||||
self.content = self.CreateContent();
|
||||
self.Update();
|
||||
});
|
||||
|
||||
Locale.language.addCallback(() => {
|
||||
self.content = self.CreateContent();
|
||||
self.Update();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue