do not make a url if no deatils_path is present - use '.tag' for ref in commit component
This commit is contained in:
parent
87427496b0
commit
588219352c
2 changed files with 2 additions and 2 deletions
|
@ -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: `
|
||||
|
|
Loading…
Reference in a new issue