diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-03 09:09:31 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-03 09:09:31 +0000 |
commit | 04baa85554ff13bdd4d6f4e6bb24119d17608fee (patch) | |
tree | 7cb9c0977e09d97da340f48703d79b2dbd3579a0 /app/assets/javascripts/clusters/components/remove_cluster_confirmation.vue | |
parent | 42f41de46525ce0065f02ee07c1a79f5669526a0 (diff) | |
download | gitlab-ce-04baa85554ff13bdd4d6f4e6bb24119d17608fee.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/clusters/components/remove_cluster_confirmation.vue')
-rw-r--r-- | app/assets/javascripts/clusters/components/remove_cluster_confirmation.vue | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/app/assets/javascripts/clusters/components/remove_cluster_confirmation.vue b/app/assets/javascripts/clusters/components/remove_cluster_confirmation.vue index bdbaf2ed558..b35adae3352 100644 --- a/app/assets/javascripts/clusters/components/remove_cluster_confirmation.vue +++ b/app/assets/javascripts/clusters/components/remove_cluster_confirmation.vue @@ -1,7 +1,7 @@ <script> import { escape as esc } from 'lodash'; import SplitButton from '~/vue_shared/components/split_button.vue'; -import { GlModal, GlButton, GlFormInput } from '@gitlab/ui'; +import { GlModal, GlDeprecatedButton, GlFormInput } from '@gitlab/ui'; import { s__, sprintf } from '~/locale'; import csrf from '~/lib/utils/csrf'; @@ -27,7 +27,7 @@ export default { components: { SplitButton, GlModal, - GlButton, + GlDeprecatedButton, GlFormInput, }, props: { @@ -148,19 +148,24 @@ export default { }}</span> </template> <template slot="modal-footer"> - <gl-button variant="secondary" @click="handleCancel">{{ s__('Cancel') }}</gl-button> + <gl-deprecated-button variant="secondary" @click="handleCancel">{{ + s__('Cancel') + }}</gl-deprecated-button> <template v-if="confirmCleanup"> - <gl-button :disabled="!canSubmit" variant="warning" @click="handleSubmit">{{ + <gl-deprecated-button :disabled="!canSubmit" variant="warning" @click="handleSubmit">{{ s__('ClusterIntegration|Remove integration') - }}</gl-button> - <gl-button :disabled="!canSubmit" variant="danger" @click="handleSubmit(true)">{{ - s__('ClusterIntegration|Remove integration and resources') - }}</gl-button> + }}</gl-deprecated-button> + <gl-deprecated-button + :disabled="!canSubmit" + variant="danger" + @click="handleSubmit(true)" + >{{ s__('ClusterIntegration|Remove integration and resources') }}</gl-deprecated-button + > </template> <template v-else> - <gl-button :disabled="!canSubmit" variant="danger" @click="handleSubmit">{{ + <gl-deprecated-button :disabled="!canSubmit" variant="danger" @click="handleSubmit">{{ s__('ClusterIntegration|Remove integration') - }}</gl-button> + }}</gl-deprecated-button> </template> </template> </gl-modal> |