diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-13 21:09:57 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-13 21:09:57 +0000 |
commit | 08d684dcf589c730a2a9d021451c72efa14d1911 (patch) | |
tree | 42296df77d988aefd0e77e3b5a4dfab886ac0812 /app/assets/javascripts/diffs/components/commit_item.vue | |
parent | 953eb09e086c8f2842512a62e56e32223b5bf974 (diff) | |
download | gitlab-ce-08d684dcf589c730a2a9d021451c72efa14d1911.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/diffs/components/commit_item.vue')
-rw-r--r-- | app/assets/javascripts/diffs/components/commit_item.vue | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/diffs/components/commit_item.vue b/app/assets/javascripts/diffs/components/commit_item.vue index 8f8712365be..1ccbe0d0d41 100644 --- a/app/assets/javascripts/diffs/components/commit_item.vue +++ b/app/assets/javascripts/diffs/components/commit_item.vue @@ -7,6 +7,8 @@ import TimeAgoTooltip from '~/vue_shared/components/time_ago_tooltip.vue'; import UserAvatarLink from '~/vue_shared/components/user_avatar/user_avatar_link.vue'; import glFeatureFlagsMixin from '~/vue_shared/mixins/gl_feature_flags_mixin'; +import initUserPopovers from '../../user_popovers'; + /** * CommitItem * @@ -80,6 +82,11 @@ export default { return this.commit.description_html.replace(/^
/, ''); }, }, + created() { + this.$nextTick(() => { + initUserPopovers(this.$el.querySelectorAll('.js-user-link')); + }); + }, safeHtmlConfig: { ADD_TAGS: ['gl-emoji'], }, |