Skip to content

Commit

Permalink
keep disable and enable buttons next to each other
Browse files Browse the repository at this point in the history
  • Loading branch information
Mo Mesgin authored and Mo Mesgin committed Jan 21, 2025
1 parent a547bf8 commit ef4e0d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell/models/catalog.cattle.io.clusterrepo.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ 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',
enabled: true,
bulkable: true,
});
} else {
insertAt(out, 0, {
insertAt(out, 1, {
action: 'disableClusterRepo',
label: this.t('action.disable'),
icon: 'icon icon-pause',
Expand Down

0 comments on commit ef4e0d7

Please sign in to comment.