mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
properly load workspace cluster store outside of render() (#2320)
also minor bulletproofing for cluster version string Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
1 parent
5c6a6e14f5
commit
51715b6a8c
2 files changed
+10
-8
No files matched your search
+1
-1
@@ -252,7 +252,7 @@ export class Cluster implements ClusterModel, ClusterState {
|
||||
* Kubernetes version
|
||||
*/
|
||||
get version(): string {
|
||||
return String(this.metadata?.version || "");
|
||||
return String(this.metadata?.version ?? "");
|
||||
}
|
||||
|
||||
constructor(model: ClusterModel) {
|
||||
|
||||
Reference in new issue
Block a user