This commit is contained in:
Niels Lyngsø
2023-03-02 11:53:19 +01:00
parent b4a49dc8e9
commit 56883309dd
2 changed files with 2 additions and 6 deletions

View File

@@ -94,11 +94,7 @@ export class UmbBackofficeMain extends UmbLitElement {
}
render() {
return html` <umb-router-slot
.routes=${this._routes}
@change=${(event: any) => {
this._onRouteChange(event);
}}></umb-router-slot>`;
return html` <umb-router-slot .routes=${this._routes} @change=${this._onRouteChange}></umb-router-slot>`;
}
}

View File

@@ -1,7 +1,7 @@
import { UUITextStyles } from '@umbraco-ui/uui-css/lib';
import { css, html, nothing } from 'lit';
import { customElement, property, state } from 'lit/decorators.js';
import { IRoutingInfo, matchRoutes } from 'router-slot';
import { IRoutingInfo } from 'router-slot';
import { map } from 'rxjs';
import { repeat } from 'lit/directives/repeat.js';