apis / clusters-menu refactoring

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2020-07-14 15:04:26 +03:00
1 parent 4e88715b8d
commit fbcb2fd281
12 files changed
+72 -50

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ export class ClusterStore extends BaseStore<ClusterStoreModel> {
@observable removedClusters = observable.map<ClusterId, Cluster>();
@observable clusters = observable.map<ClusterId, Cluster>();
@computed get activeCluster(): Cluster {
@computed get activeCluster(): Cluster | null {
return this.getById(this.activeClusterId);
}