diff --git a/app/assets/javascripts/vue_pipelines_index/pipelines.js.es6 b/app/assets/javascripts/vue_pipelines_index/pipelines.js.es6 index 9a8de768aba..3afb6fc236f 100644 --- a/app/assets/javascripts/vue_pipelines_index/pipelines.js.es6 +++ b/app/assets/javascripts/vue_pipelines_index/pipelines.js.es6 @@ -44,15 +44,15 @@ author(pipeline) { if (!pipeline.commit) return ({ avatar_url: '', web_url: '', username: '' }); if (pipeline.commit.author) return pipeline.commit.author; - return ({ + return { avatar_url: pipeline.commit.author_gravatar_url, web_url: `mailto:${pipeline.commit.author_email}`, username: pipeline.commit.author_name, - }); + }; }, ref(pipeline) { const { ref } = pipeline; - return ({ name: ref.name, tag: ref.tag, ref_url: ref.path }); + return { name: ref.name, tag: ref.tag, ref_url: ref.path }; }, commitTitle(pipeline) { return pipeline.commit ? pipeline.commit.title : '';