Skip to content

Commit

Permalink
Merge pull request #12208 from torchiaf/fix-harvester-4040
Browse files Browse the repository at this point in the history
Fix nav-headers
  • Loading branch information
torchiaf authored Oct 14, 2024
2 parents 14950d3 + 99f0dd6 commit 83d023d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions shell/components/nav/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,16 @@ export default {
}
},
// since the Header is a "persistent component" we need to update it at every route change...
$route(nue) {
if (nue) {
this.extensionHeaderActions = getApplicableExtensionEnhancements(this, ExtensionPoint.ACTION, ActionLocation.HEADER, nue);
$route: {
handler(nue) {
if (nue) {
this.extensionHeaderActions = getApplicableExtensionEnhancements(this, ExtensionPoint.ACTION, ActionLocation.HEADER, nue);
this.navHeaderRight = this.$plugin?.getDynamic('component', 'NavHeaderRight');
}
this.navHeaderRight = this.$plugin?.getDynamic('component', 'NavHeaderRight');
}
},
immediate: true,
deep: true,
}
},
Expand Down

0 comments on commit 83d023d

Please sign in to comment.