mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
e7cb7504ac
commit
3d0a34750c
1 file changed
+1
-1
@@ -59,7 +59,7 @@ export class ClusterPageMenuRegistry extends BaseRegistry<ClusterPageMenuRegistr
|
|||||||
}
|
}
|
||||||
|
|
||||||
getSubItems(parent: ClusterPageMenuRegistration) {
|
getSubItems(parent: ClusterPageMenuRegistration) {
|
||||||
return this.getItems().filter((item) => item.parentId === parent.id)
|
return this.getItems().filter((item) => item.parentId === parent.id && item.target.extensionId === parent.target.extensionId)
|
||||||
}
|
}
|
||||||
|
|
||||||
getByPage(page: RegisteredPage) {
|
getByPage(page: RegisteredPage) {
|
||||||
|
|||||||
Reference in new issue
Block a user