diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-06 09:09:17 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-06 09:09:17 +0000 |
commit | eaea945e0355826c58c3dcf887496ea91064f85c (patch) | |
tree | 0f20e03304d35e68375e99a606b9b94483e37ee5 /app/assets/javascripts/blob/suggest_gitlab_ci_yml/components/popover.vue | |
parent | cce8cf03d3bebe8b05375e4db0004328f84b28a2 (diff) | |
download | gitlab-ce-eaea945e0355826c58c3dcf887496ea91064f85c.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/blob/suggest_gitlab_ci_yml/components/popover.vue')
-rw-r--r-- | app/assets/javascripts/blob/suggest_gitlab_ci_yml/components/popover.vue | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/app/assets/javascripts/blob/suggest_gitlab_ci_yml/components/popover.vue b/app/assets/javascripts/blob/suggest_gitlab_ci_yml/components/popover.vue index e191bfd79cb..5023496e2c3 100644 --- a/app/assets/javascripts/blob/suggest_gitlab_ci_yml/components/popover.vue +++ b/app/assets/javascripts/blob/suggest_gitlab_ci_yml/components/popover.vue @@ -23,6 +23,8 @@ const popoverStates = { }, }; export default { + dismissTrackValue: 10, + clickTrackValue: 'click_button', components: { GlPopover, GlSprintf, @@ -109,7 +111,16 @@ export default { <template #title> <span v-html="suggestTitle"></span> <span class="ml-auto"> - <gl-deprecated-button :aria-label="__('Close')" class="btn-blank" @click="onDismiss"> + <gl-deprecated-button + :aria-label="__('Close')" + class="btn-blank" + name="dismiss" + :data-track-property="humanAccess" + :data-track-value="$options.dismissTrackValue" + :data-track-event="$options.clickTrackValue" + :data-track-label="trackLabel" + @click="onDismiss" + > <gl-icon name="close" aria-hidden="true" /> </gl-deprecated-button> </span> |