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>2023-08-09 12:10:54 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-08-09 12:10:54 +0300
commitc2de38f36d2fb75a17ce161fa69f2b8a5e670f3e (patch)
treed24a576c60f21055b8e2bc7f0d9954830d8a229c /app/assets/javascripts/comment_templates
parent40338034578aca9d622651a060cbf157a941361b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/comment_templates')
-rw-r--r--app/assets/javascripts/comment_templates/components/form.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/comment_templates/components/form.vue b/app/assets/javascripts/comment_templates/components/form.vue
index 334c67ca339..0dadec7a5c5 100644
--- a/app/assets/javascripts/comment_templates/components/form.vue
+++ b/app/assets/javascripts/comment_templates/components/form.vue
@@ -5,6 +5,7 @@ import MarkdownField from '~/vue_shared/components/markdown/field.vue';
import { helpPagePath } from '~/helpers/help_page_helper';
import { logError } from '~/lib/logger';
import { __ } from '~/locale';
+import { InternalEvents } from '~/tracking';
import createSavedReplyMutation from '../queries/create_saved_reply.mutation.graphql';
import updateSavedReplyMutation from '../queries/update_saved_reply.mutation.graphql';
@@ -17,6 +18,7 @@ export default {
GlAlert,
MarkdownField,
},
+ mixins: [InternalEvents.mixin()],
props: {
id: {
type: String,
@@ -91,6 +93,7 @@ export default {
this.$emit('saved');
this.updateCommentTemplate = { name: '', content: '' };
this.showValidation = false;
+ this.track_event('i_code_review_saved_replies_create');
}
},
})