@websy/websy-designs 1.6.2 → 1.6.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/dist/server/helpers/v1/pgHelper.js +1 -0
- package/dist/websy-designs-es6.debug.js +3 -0
- package/dist/websy-designs-es6.js +4 -0
- package/dist/websy-designs-es6.min.js +1 -1
- package/dist/websy-designs.debug.js +5 -2
- package/dist/websy-designs.js +6 -2
- package/dist/websy-designs.min.js +1 -1
- package/package.json +1 -1
|
@@ -4183,6 +4183,9 @@ class WebsyRouter {
|
|
|
4183
4183
|
}
|
|
4184
4184
|
}
|
|
4185
4185
|
showView (view, params, group) {
|
|
4186
|
+
if (view === '/' || view === '') {
|
|
4187
|
+
view = this.options.defaultView || ''
|
|
4188
|
+
}
|
|
4186
4189
|
this.activateItem(view, this.options.triggerClass)
|
|
4187
4190
|
this.activateItem(view, this.options.viewClass)
|
|
4188
4191
|
let children = this.getActiveViewsFromParent(view)
|
|
@@ -4585,6 +4585,10 @@ var WebsyRouter = /*#__PURE__*/function () {
|
|
|
4585
4585
|
}, {
|
|
4586
4586
|
key: "showView",
|
|
4587
4587
|
value: function showView(view, params, group) {
|
|
4588
|
+
if (view === '/' || view === '') {
|
|
4589
|
+
view = this.options.defaultView || '';
|
|
4590
|
+
}
|
|
4591
|
+
|
|
4588
4592
|
this.activateItem(view, this.options.triggerClass);
|
|
4589
4593
|
this.activateItem(view, this.options.viewClass);
|
|
4590
4594
|
var children = this.getActiveViewsFromParent(view);
|