Commit 58821935 authored by Regis's avatar Regis

do not make a url if no deatils_path is present - use '.tag' for ref in commit component

parent 87427496
......@@ -88,7 +88,7 @@
<commit
:commit-icon-svg='svgs.commitIconSvg'
:author='author(pipeline)'
:tag="pipeline.ref['tag?']"
:tag="pipeline.ref.tag"
:title='commitTitle(pipeline)'
:commit-ref='ref(pipeline)'
:short-sha='commitSha(pipeline)'
......
......@@ -18,7 +18,7 @@
},
detailsPath() {
const { status } = this.pipeline.details;
return status.details_path ? status.details_path : '#';
return status.details_path ? status.details_path : false;
},
},
template: `
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment