mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix NamespaceSelectFilter all namespaces button (#3983)
* Fix NamespaceSelectFilter all namespaces button Signed-off-by: Sebastian Malton <sebastian@malton.name> * simplify fix Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
b32e841bd2
commit
6c599556a2
@ -121,7 +121,10 @@ export class NamespaceSelectFilter extends React.Component<SelectProps> {
|
|||||||
namespaceStore.toggleSingle(namespace);
|
namespaceStore.toggleSingle(namespace);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
namespaceStore.toggleAll(true); // "All namespaces" clicked
|
/**
|
||||||
|
* WARNING: only ever call this method with `false` as an argument
|
||||||
|
*/
|
||||||
|
namespaceStore.toggleAll(false);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user