diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-01 17:15:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-01 17:15:38 +0300 |
commit | 28b374eea4e2890514067ac7875b4c1d252c5cdd (patch) | |
tree | 9fe30ae35df4b83cee000e1a0880b390d88d80f0 /app/assets/javascripts/vue_shared | |
parent | c8fd9c521b89b98797cfd6e3a51cae6955129c20 (diff) |
Add latest changes from gitlab-org/gitlab@15-3-stable-ee
Diffstat (limited to 'app/assets/javascripts/vue_shared')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/source_viewer/source_viewer.vue | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/vue_shared/components/source_viewer/source_viewer.vue b/app/assets/javascripts/vue_shared/components/source_viewer/source_viewer.vue index ccc8b44942a..f471db24889 100644 --- a/app/assets/javascripts/vue_shared/components/source_viewer/source_viewer.vue +++ b/app/assets/javascripts/vue_shared/components/source_viewer/source_viewer.vue @@ -3,6 +3,7 @@ import { GlSafeHtmlDirective, GlLoadingIcon } from '@gitlab/ui'; import LineHighlighter from '~/blob/line_highlighter'; import eventHub from '~/notes/event_hub'; import languageLoader from '~/content_editor/services/highlight_js_language_loader'; +import addBlobLinksTracking from '~/blob/blob_links_tracking'; import Tracking from '~/tracking'; import { EVENT_ACTION, @@ -66,6 +67,7 @@ export default { }, }, async created() { + addBlobLinksTracking(); this.trackEvent(EVENT_LABEL_VIEWER); if (this.unsupportedLanguage) { |