Skip to content

Commit

Permalink
Merge pull request #11355 from torchiaf/harvester-fix-2
Browse files Browse the repository at this point in the history
Fixing harvester cluster page reload `currentProduct` null
  • Loading branch information
torchiaf authored Jul 4, 2024
2 parents 58e25c2 + 7bcc4f3 commit 686bbf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/components/nav/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default {
// Don't show if the header is in 'simple' mode
const notSimple = !this.simple;
// One of these must be enabled, otherwise t here's no component to show
const validFilterSettings = this.currentProduct.showNamespaceFilter || this.currentProduct.showWorkspaceSwitcher;
const validFilterSettings = this.currentProduct?.showNamespaceFilter || this.currentProduct?.showWorkspaceSwitcher;
return validClusterOrProduct && notSimple && validFilterSettings;
},
Expand Down

0 comments on commit 686bbf7

Please sign in to comment.