diff --git a/CHANGELOG.md b/CHANGELOG.md index ca13b5e83..c7cb2dd9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +## v2.0.0-beta.53 + +`SubnavigationItem` bug fix ## v2.0.0-beta.52 Add an option to pass stringToMatch prop to `SubnavigationItem`, this can be used to pass a string that is turned into a regex pattern diff --git a/package-lock.json b/package-lock.json index 9272fc84d..874fe2ead 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lob/ui-components", - "version": "2.0.0-beta.52", + "version": "2.0.0-beta.53", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lob/ui-components", - "version": "2.0.0-beta.52", + "version": "2.0.0-beta.53", "dependencies": { "date-fns": "^2.29.3", "date-fns-holiday-us": "^0.3.1", diff --git a/package.json b/package.json index a3477964d..68c042fc6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lob/ui-components", - "version": "2.0.0-beta.52", + "version": "2.0.0-beta.53", "engines": { "node": ">=14.18.2", "npm": ">=8.3.0" diff --git a/src/components/Subnavigation/SubnavigationItem.vue b/src/components/Subnavigation/SubnavigationItem.vue index ba15caf25..2bd03281b 100644 --- a/src/components/Subnavigation/SubnavigationItem.vue +++ b/src/components/Subnavigation/SubnavigationItem.vue @@ -68,7 +68,7 @@ export default { } return this.matchQueryString ? this.$route.fullPath === this.to : - this.$route.fullPath.includes(this.to); + this.$route.fullPath?.includes(this.to); } } };