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:
parent
de9b3f7699
commit
24b5251a96
@ -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())) :
|
||||
|
||||
Loading…
Reference in New Issue
Block a user