mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix lint
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
parent
4240d3afbc
commit
6fa17e3279
@ -220,6 +220,7 @@ export class ItemListLayout extends React.Component<ItemListLayoutProps> {
|
||||
});
|
||||
|
||||
const items = this.props.items ?? allItems;
|
||||
|
||||
return this.applyFilters(filterItems, items);
|
||||
}
|
||||
|
||||
|
||||
@ -38,6 +38,7 @@ export abstract class KubeObjectStore<T extends KubeObject = any> extends ItemSt
|
||||
|
||||
return this.items.filter(item => {
|
||||
const itemNamespace = item.getNs();
|
||||
|
||||
return !itemNamespace /* cluster-wide */ || namespaces.includes(itemNamespace);
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user