@akc42/app-utils 4.0.2 → 4.0.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/location.js +1 -1
- package/package.json +1 -1
package/location.js
CHANGED
|
@@ -79,7 +79,7 @@ function routeChanged(e) {
|
|
|
79
79
|
let newPath = route.path;
|
|
80
80
|
if(e.detail.path !== undefined) {
|
|
81
81
|
if (Number.isInteger(e.detail.segment)) {
|
|
82
|
-
debug('route change called path', e.detail.path, 'segments',
|
|
82
|
+
debug('route change called path', e.detail.path, 'segments', e.detail.segment, 'current path', route.path )
|
|
83
83
|
let segments = route.path.split('/');
|
|
84
84
|
if (segments[0] === '') segments.shift(); //loose leeding
|
|
85
85
|
if(segments.length < e.detail.segment) {
|