mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Cherry Pick bug fixes from v5.5.0-beta.2 (#5429)
This commit is contained in:
1 parent
a61a455fad
commit
d09816aacf
5 files changed
+86
-13
No files matched your search
@@ -19,11 +19,11 @@ export class NodeStore extends KubeObjectStore<Node, NodeApi> {
|
||||
}
|
||||
|
||||
@computed get masterNodes() {
|
||||
return this.items.filter(node => node.getRoleLabels().includes("master"));
|
||||
return this.items.filter(node => node.isMasterNode());
|
||||
}
|
||||
|
||||
@computed get workerNodes() {
|
||||
return this.items.filter(node => !node.getRoleLabels().includes("master"));
|
||||
return this.items.filter(node => !node.isMasterNode());
|
||||
}
|
||||
|
||||
getWarningsCount(): number {
|
||||
|
||||
Reference in new issue
Block a user