mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
address review comments, and rebased to master
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
parent
3d3a01e6f1
commit
02d5c4a1de
@ -12,7 +12,7 @@ export class ClusterItem implements ItemObject {
|
||||
}
|
||||
|
||||
get distribution() {
|
||||
return (this.cluster.metadata["distribution"] || "unknown").toString();
|
||||
return this.cluster.metadata?.distribution?.toString() ?? "unknown";
|
||||
}
|
||||
|
||||
get version() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user