saasufy-components 3.27.2 → 3.27.4

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 +5 -1
  2. package/package.json +1 -1
package/app-router.js CHANGED
@@ -147,7 +147,11 @@ 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
+ this.lastPageState = null;
153
+ return;
154
+ }
151
155
  routeArgs = this.computeRouteArgs(pagePath, regExp, params);
152
156
  pagePath = this.substituteRouteAgs(defaultPage, routeArgs);
153
157
  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.4",
4
4
  "description": "Components for Saasufy.",
5
5
  "main": "index.js",
6
6
  "scripts": {