saasufy-components 3.27.2 → 3.27.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app-router.js +4 -1
- package/package.json +1 -1
package/app-router.js
CHANGED
|
@@ -147,7 +147,10 @@ export class AppRouter extends SocketConsumer {
|
|
|
147
147
|
|
|
148
148
|
if (!pageTemplate) {
|
|
149
149
|
let defaultPage = this.getAttribute('default-page');
|
|
150
|
-
if (!defaultPage)
|
|
150
|
+
if (!defaultPage) {
|
|
151
|
+
routerViewport.innerHTML = '';
|
|
152
|
+
return;
|
|
153
|
+
}
|
|
151
154
|
routeArgs = this.computeRouteArgs(pagePath, regExp, params);
|
|
152
155
|
pagePath = this.substituteRouteAgs(defaultPage, routeArgs);
|
|
153
156
|
let result = this.getMatchingPage(pagePath, 'default-page');
|