From 39018a7445142a6c93699e0ba86889bd931eb198 Mon Sep 17 00:00:00 2001 From: Jose Ivan Vargas Date: Fri, 1 Dec 2017 13:30:49 -0600 Subject: code-fork replacements --- app/assets/javascripts/vue_shared/components/commit.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'app/assets/javascripts/vue_shared/components/commit.vue') diff --git a/app/assets/javascripts/vue_shared/components/commit.vue b/app/assets/javascripts/vue_shared/components/commit.vue index 52814de8b2d..59ca9a0a6d4 100644 --- a/app/assets/javascripts/vue_shared/components/commit.vue +++ b/app/assets/javascripts/vue_shared/components/commit.vue @@ -2,13 +2,14 @@ import commitIconSvg from 'icons/_icon_commit.svg'; import userAvatarLink from './user_avatar/user_avatar_link.vue'; import tooltip from '../directives/tooltip'; + import Icon from '../../vue_shared/components/icon.vue'; export default { props: { /** * Indicates the existance of a tag. * Used to render the correct icon, if true will render `fa-tag` icon, - * if false will render `fa-code-fork` icon. + * if false will render a svg sprite fork icon */ tag: { type: Boolean, @@ -107,6 +108,7 @@ }, components: { userAvatarLink, + Icon, }, created() { this.commitIconSvg = commitIconSvg; @@ -123,11 +125,10 @@ class="fa fa-tag" aria-hidden="true"> - + name="fork"> +