diff --git a/plugins/kiali/src/pages/Kiali/Header/NamespaceSelector.tsx b/plugins/kiali/src/pages/Kiali/Header/NamespaceSelector.tsx index 831ee793bc..cf70565d5e 100644 --- a/plugins/kiali/src/pages/Kiali/Header/NamespaceSelector.tsx +++ b/plugins/kiali/src/pages/Kiali/Header/NamespaceSelector.tsx @@ -58,7 +58,7 @@ export const NamespaceSelector = (props: { page?: boolean }) => { MenuProps={MenuProps} style={{ color: props.page ? 'white' : undefined }} > - {kialiState.namespaces.activeNamespaces.map(ns => ( + {(kialiState.namespaces.items || []).map(ns => (