diff options
Diffstat (limited to 'app/assets/javascripts/profile/account')
-rw-r--r-- | app/assets/javascripts/profile/account/components/update_username.vue | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/assets/javascripts/profile/account/components/update_username.vue b/app/assets/javascripts/profile/account/components/update_username.vue index 45a6130826d..c99133fd251 100644 --- a/app/assets/javascripts/profile/account/components/update_username.vue +++ b/app/assets/javascripts/profile/account/components/update_username.vue @@ -60,7 +60,7 @@ Please update your Git repository remotes as soon as possible.`), return { text: __('Update username'), attributes: [ - { variant: 'warning' }, + { variant: 'confirm' }, { category: 'primary' }, { disabled: this.isRequestPending }, ], @@ -127,8 +127,7 @@ Please update your Git repository remotes as soon as possible.`), v-gl-modal-directive="$options.modalId" :disabled="newUsername === username" :loading="isRequestPending" - category="primary" - variant="warning" + variant="confirm" data-testid="username-change-confirmation-modal" >{{ $options.buttonText }}</gl-button > |