1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman 2021-02-05 17:38:06 +02:00
parent 4240d3afbc
commit 6fa17e3279
2 changed files with 2 additions and 0 deletions

View File

@ -220,6 +220,7 @@ export class ItemListLayout extends React.Component<ItemListLayoutProps> {
});
const items = this.props.items ?? allItems;
return this.applyFilters(filterItems, items);
}

View File

@ -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);
});
}