1
0
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:
Jim Ehrismann 2021-03-10 09:55:32 -05:00
parent 3d3a01e6f1
commit 02d5c4a1de

View File

@ -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() {