Skip to content

Commit

Permalink
fix(kiali): namespaceSelector is removing options (#1186)
Browse files Browse the repository at this point in the history
  • Loading branch information
aljesusg authored Feb 8, 2024
1 parent 0410800 commit 0195b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/kiali/src/pages/Kiali/Header/NamespaceSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 => (
<MenuItem key={ns.name} value={ns.name}>
<Checkbox
checked={
Expand Down

0 comments on commit 0195b06

Please sign in to comment.