diff --git a/src/config/section/infra/clusters.js b/src/config/section/infra/clusters.js index 8b4218450..96c3c0ad9 100644 --- a/src/config/section/infra/clusters.js +++ b/src/config/section/infra/clusters.js @@ -58,6 +58,13 @@ export default { popup: true, component: () => import('@/views/infra/ClusterAdd.vue') }, + { + api: 'updateCluster', + icon: 'edit', + label: 'label.edit', + dataView: true, + args: ['clustername'] + }, { api: 'updateCluster', icon: 'play-circle', diff --git a/src/config/section/infra/hosts.js b/src/config/section/infra/hosts.js index 06e690baa..9e46876b0 100644 --- a/src/config/section/infra/hosts.js +++ b/src/config/section/infra/hosts.js @@ -59,7 +59,7 @@ export default { icon: 'edit', label: 'label.edit', dataView: true, - args: ['hosttags', 'oscategoryid'], + args: ['name', 'hosttags', 'oscategoryid'], mapping: { oscategoryid: { api: 'listOsCategories' diff --git a/src/config/section/infra/primaryStorages.js b/src/config/section/infra/primaryStorages.js index 8754c358f..a443ce584 100644 --- a/src/config/section/infra/primaryStorages.js +++ b/src/config/section/infra/primaryStorages.js @@ -61,7 +61,7 @@ export default { icon: 'edit', label: 'label.edit', dataView: true, - args: ['tags', 'capacitybytes', 'capacityiops'] + args: ['name', 'tags', 'capacitybytes', 'capacityiops'] }, { api: 'enableStorageMaintenance', diff --git a/src/locales/en.json b/src/locales/en.json index 00dc0486b..23ab50909 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -549,7 +549,7 @@ "label.cluster.name": "Cluster Name", "label.cluster.size": "Cluster size", "label.clusterid": "Cluster", -"label.clustername": "Cluster", +"label.clustername": "Cluster Name", "label.clusternamelabel": "Cluster Name", "label.clusters": "Clusters", "label.clustertype": "Cluster Type",