diff --git a/shell/components/nav/Header.vue b/shell/components/nav/Header.vue index 468da025664..140ea41e65b 100644 --- a/shell/components/nav/Header.vue +++ b/shell/components/nav/Header.vue @@ -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; },