diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-09 03:08:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-09 03:08:47 +0300 |
commit | 7258040618b5093cbb65035d2af4718db3a993a4 (patch) | |
tree | a33b762d2aa4bc086f39256bf296ab3b617e2ab5 /app/assets/javascripts/clusters_list/components/clusters.vue | |
parent | d48cbe178636a01db031327b93b6e3b279c12aa5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/clusters_list/components/clusters.vue')
-rw-r--r-- | app/assets/javascripts/clusters_list/components/clusters.vue | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/app/assets/javascripts/clusters_list/components/clusters.vue b/app/assets/javascripts/clusters_list/components/clusters.vue index 9b1c45a3a49..0404c8cdfed 100644 --- a/app/assets/javascripts/clusters_list/components/clusters.vue +++ b/app/assets/javascripts/clusters_list/components/clusters.vue @@ -72,10 +72,7 @@ export default { }, methods: { ...mapActions(['fetchClusters', 'setPage']), - statusClass(status) { - const iconClass = STATUSES[status] || STATUSES.default; - return iconClass.className; - }, + statusTitle(status) { const iconTitle = STATUSES[status] || STATUSES.default; return sprintf(__('Status: %{title}'), { title: iconTitle.title }, false); @@ -96,19 +93,12 @@ export default { </gl-link> <gl-loading-icon - v-if="item.status === 'deleting'" + v-if="item.status === 'deleting' || item.status === 'creating'" v-tooltip :title="statusTitle(item.status)" size="sm" class="mr-2 ml-md-2" /> - <div - v-else - v-tooltip - class="cluster-status-indicator rounded-circle align-self-center gl-w-4 gl-h-4 mr-2 ml-md-2" - :class="statusClass(item.status)" - :title="statusTitle(item.status)" - ></div> </div> </template> |