Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-03-22 06:08:38 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-22 06:08:38 +0300
commitd573c616f31a16124bf8a5fdacf978c256344717 (patch)
tree79ad13d6434a5f4a1d8cb7d82612302ac0141be3 /app/assets/javascripts/lib
parentbc85eaf6152e1d63b016576d057b12cb9a243c3f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/lib')
-rw-r--r--app/assets/javascripts/lib/utils/confirm_via_gl_modal/confirm_modal.vue8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/assets/javascripts/lib/utils/confirm_via_gl_modal/confirm_modal.vue b/app/assets/javascripts/lib/utils/confirm_via_gl_modal/confirm_modal.vue
index f3380b7b4ba..fd52c498ee0 100644
--- a/app/assets/javascripts/lib/utils/confirm_via_gl_modal/confirm_modal.vue
+++ b/app/assets/javascripts/lib/utils/confirm_via_gl_modal/confirm_modal.vue
@@ -39,7 +39,13 @@ export default {
},
computed: {
primaryAction() {
- return { text: this.primaryText, attributes: { variant: this.primaryVariant } };
+ return {
+ text: this.primaryText,
+ attributes: {
+ variant: this.primaryVariant,
+ 'data-qa-selector': 'confirm_ok_button',
+ },
+ };
},
cancelAction() {
return this.hideCancel ? null : this.$options.cancelAction;