@simonbackx/vue-app-navigation 2.17.1 → 2.17.2
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/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -511,7 +511,9 @@ class HistoryManagerStatic {
|
|
|
511
511
|
this.go(-adjustHistoryCount);
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
if (this.states[this.counter]
|
|
514
|
+
if (!this.states[this.counter]) {
|
|
515
|
+
console.error("Unexpected missing state", this.counter, this.states);
|
|
516
|
+
} else if (this.states[this.counter].url) {
|
|
515
517
|
if (this.debug) {
|
|
516
518
|
console.log("Setting manual url without history api: " + this.states[this.counter].url);
|
|
517
519
|
}
|