From ef4e0d7ca5657a3e4b4faeba0d8f699e9b473870 Mon Sep 17 00:00:00 2001 From: Mo Mesgin Date: Tue, 21 Jan 2025 14:57:06 -0800 Subject: [PATCH] keep disable and enable buttons next to each other --- shell/models/catalog.cattle.io.clusterrepo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/models/catalog.cattle.io.clusterrepo.js b/shell/models/catalog.cattle.io.clusterrepo.js index fb35065a024..494bd19f3bb 100644 --- a/shell/models/catalog.cattle.io.clusterrepo.js +++ b/shell/models/catalog.cattle.io.clusterrepo.js @@ -23,7 +23,7 @@ export default class ClusterRepo extends SteveModel { insertAt(out, 0, { divider: true }); if (this._isClusterRepoDisabled) { - insertAt(out, 0, { + insertAt(out, 1, { action: 'enableClusterRepo', label: this.t('action.enable'), icon: 'icon icon-play', @@ -31,7 +31,7 @@ export default class ClusterRepo extends SteveModel { bulkable: true, }); } else { - insertAt(out, 0, { + insertAt(out, 1, { action: 'disableClusterRepo', label: this.t('action.disable'), icon: 'icon icon-pause',