1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Using contextItems instead of items in CrdList

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-02-11 12:45:04 +03:00
parent de9b3f7699
commit 24b5251a96

View File

@ -35,7 +35,7 @@ export class CrdList extends React.Component {
get items() {
const selectedGroups = this.groups;
const storeItems = crdStore.items;
const storeItems = crdStore.contextItems;
return selectedGroups.length ?
storeItems.filter(item => selectedGroups.includes(item.getGroup())) :