fix(core): update

This commit is contained in:
Philipp Kunz 2020-07-15 20:42:54 +00:00
parent c8d6986aff
commit 959a4cae89

View File

@ -49,6 +49,7 @@ export class WccDashboard extends LitElement {
this.domtools.router.on('/pages/:pageName', async routeInfo => { this.domtools.router.on('/pages/:pageName', async routeInfo => {
this.selectedItem = this.pages[routeInfo.params.pageName]; this.selectedItem = this.pages[routeInfo.params.pageName];
}); });
this.domtools.router._handleRouteState();
} }
public render(): TemplateResult { public render(): TemplateResult {