Commit 6cbcc4d3 authored by Romain DELEAU's avatar Romain DELEAU

update change_lang trace with selected language

parent 4a9205c0
......@@ -126,7 +126,7 @@ export class AppComponent {
case 'en': this.selectedLang = 'en'; this.translate.use('en'); this.langEmoji = '🇬🇧'; break;
}
this.minimapService.reset();
this.scenario.traces.push(new Trace(this.scenario.traces.length, 'change_lang', undefined, undefined, 'all', 'Scenario'));
this.scenario.traces.push(new Trace(this.scenario.traces.length, 'change_lang', undefined, undefined, this.selectedLang, 'Scenario'));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment