Skip to content

Commit

Permalink
BILL-3514/hotfilx optional chaining (#418)
Browse files Browse the repository at this point in the history
* fix optional chaining

* update version
  • Loading branch information
shannamurry authored Sep 14, 2023
1 parent 48865ef commit 7fb01c7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Subnavigation/SubnavigationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
};
Expand Down

0 comments on commit 7fb01c7

Please sign in to comment.