Change Cluster Settings button to be consistent with cluster icon menu (#2065)

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Alex Culliere <alozhkin@mirantis.com>
This commit is contained in:
authored and GitHub committed 2021-03-23 08:41:58 -04:00
1 parent 72e1915ef4
commit e718b250cc
6 files changed
+147 -63

No files matched your search

+6
View File
@@ -225,6 +225,12 @@ export class ClusterStore extends BaseStore<ClusterStoreModel> {
workspaceStore.setLastActiveClusterId(clusterId);
}
deactivate(id: ClusterId) {
if (this.isActive(id)) {
this.setActive(null);
}
}
@action
swapIconOrders(workspace: WorkspaceId, from: number, to: number) {
const clusters = this.getByWorkspaceId(workspace);