n20-common-lib 2.4.58 → 2.4.59

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.4.58",
3
+ "version": "2.4.59",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -397,7 +397,7 @@ export default {
397
397
  if (tab) {
398
398
  this.addRouterKey(tab.route, tab.query)
399
399
  if (this.activeNav === tab.uuid) {
400
- if (this.$route.matched[0]['path'] !== '*') {
400
+ if (this.$route.matched.length && this.$route.matched[0]['path'] !== '*') {
401
401
  this.$forceUpdate()
402
402
  } else {
403
403
  window.postMessage({
@@ -411,7 +411,7 @@ export default {
411
411
  if (tab) {
412
412
  this.addRouterKey(tab.route, tab.query)
413
413
  if (this.activeNav === tab.uuid) {
414
- if (this.$route.matched[0]['path'] !== '*') {
414
+ if (this.$route.matched.length && this.$route.matched[0]['path'] !== '*') {
415
415
  this.$forceUpdate()
416
416
  } else {
417
417
  window.postMessage({