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.
Files changed (2) hide show
  1. package/app-router.js +4 -1
  2. 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) return;
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');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saasufy-components",
3
- "version": "3.27.2",
3
+ "version": "3.27.3",
4
4
  "description": "Components for Saasufy.",
5
5
  "main": "index.js",
6
6
  "scripts": {