diff options
Diffstat (limited to 'app/assets/javascripts/alerts_service_settings/components/alerts_service_form.vue')
-rw-r--r-- | app/assets/javascripts/alerts_service_settings/components/alerts_service_form.vue | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/app/assets/javascripts/alerts_service_settings/components/alerts_service_form.vue b/app/assets/javascripts/alerts_service_settings/components/alerts_service_form.vue index 5e16f6f3873..1c7a181e3e6 100644 --- a/app/assets/javascripts/alerts_service_settings/components/alerts_service_form.vue +++ b/app/assets/javascripts/alerts_service_settings/components/alerts_service_form.vue @@ -1,5 +1,11 @@ <script> -import { GlButton, GlFormGroup, GlFormInput, GlModal, GlModalDirective } from '@gitlab/ui'; +import { + GlDeprecatedButton, + GlFormGroup, + GlFormInput, + GlModal, + GlModalDirective, +} from '@gitlab/ui'; import _ from 'underscore'; import ClipboardButton from '~/vue_shared/components/clipboard_button.vue'; import ToggleButton from '~/vue_shared/components/toggle_button.vue'; @@ -11,7 +17,7 @@ export default { COPY_TO_CLIPBOARD: __('Copy'), RESET_KEY: __('Reset key'), components: { - GlButton, + GlDeprecatedButton, GlFormGroup, GlFormInput, GlModal, @@ -149,7 +155,9 @@ export default { <clipboard-button :text="authorizationKey" :title="$options.COPY_TO_CLIPBOARD" /> </span> </div> - <gl-button v-gl-modal.authKeyModal class="mt-2">{{ $options.RESET_KEY }}</gl-button> + <gl-deprecated-button v-gl-modal.authKeyModal class="mt-2">{{ + $options.RESET_KEY + }}</gl-deprecated-button> <gl-modal modal-id="authKeyModal" :title="$options.RESET_KEY" |