mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 14:18:08 +00:00
closed shadowRoot and changed pages, components, layout to extend base class
This commit is contained in:
@@ -47,9 +47,6 @@ class RouterService {
|
||||
const _mainRoot = this.mainRoot;
|
||||
const route = this.routerState;
|
||||
if (path == route?.path || route?.path == "/not-found") {
|
||||
if (route.middleware && typeof route.middleware == "function") {
|
||||
if (route.middleware()) return;
|
||||
}
|
||||
let changed: boolean = false;
|
||||
if (_mainRoot?.childNodes.length > 0) {
|
||||
_mainRoot?.childNodes?.forEach?.((child: BaseLayoutElement) => {
|
||||
|
||||
Reference in New Issue
Block a user