fix(core): update
This commit is contained in:
parent
c8d6986aff
commit
959a4cae89
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user