Skip to content

Commit

Permalink
fix(QTabs): start watching route regardless if registering a QRouteTa…
Browse files Browse the repository at this point in the history
…b with valid link or not
  • Loading branch information
rstoenescu committed Sep 30, 2022
1 parent b98eab5 commit 68836ee
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ui/src/components/tabs/QTabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -584,9 +584,12 @@ export default Vue.extend({
})
}
// else if it's a QRouteTab with a valid link
else if (tabVm.hasRouterLink === true) {
else {
this.__watchRoute()
this.__verifyRouteModel()

if (tabVm.hasRouterLink === true) {
this.__verifyRouteModel()
}
}
},

Expand Down

0 comments on commit 68836ee

Please sign in to comment.