mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
a1c4c9e830
commit
ad1a35c40d
2 files changed
+2
-2
No files matched your search
@@ -130,7 +130,7 @@ describe("NamespaceSelectFilter", () => {
|
||||
new Namespace({ kind: "Namespace", apiVersion: "v1", metadata: { name: "three", uid: "three", resourceVersion: "1" }}),
|
||||
]);
|
||||
|
||||
const { container } = render(<><NamespaceSelectFilter showIcons={false} /></>);
|
||||
const { container } = render(<><NamespaceSelectFilter /></>);
|
||||
|
||||
fireEvent.click(container.querySelector(".Select__placeholder"));
|
||||
|
||||
|
||||
@@ -133,7 +133,7 @@ export class NonInjectedNamespaceSelectFilter extends React.Component<NamespaceS
|
||||
: this.namespaceStore.areAllSelectedImplicitly;
|
||||
|
||||
return (
|
||||
<div className="flex gaps align-center select-option-label">
|
||||
<div className="flex gaps align-center">
|
||||
<Icon small material={ namespace ? "layers" : "panorama_wide_angle" } />
|
||||
<span>{label}</span>
|
||||
{isSelected && <Icon small material="check" className="box right" />}
|
||||
|
||||
Reference in new issue
Block a user