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

This commit is contained in:
Regis 2017-01-02 16:20:10 -07:00
parent 87427496b0
commit 588219352c
2 changed files with 2 additions and 2 deletions

View file

@ -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)'

View file

@ -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: `