File tree 2 files changed +4
-2
lines changed
groovy/io/seqera/wave/controller
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ class ViewController {
221
221
binding. scan_url = result. scanId && result. succeeded() ? " $serverUrl /view/scans/${ result.scanId} " : null
222
222
binding. scan_id = result. scanId
223
223
// inspect uri
224
- binding. inspect_url = " $serverUrl /view/inspect?image=${ result.targetImage} &platform=${ result.platform} "
224
+ binding. inspect_url = result . succeeded() ? " $serverUrl /view/inspect?image=${ result.targetImage} &platform=${ result.platform} " : null
225
225
// configure build logs when available
226
226
if ( buildLogService ) {
227
227
final buildLog = buildLogService. fetchLogString(result. buildId)
Original file line number Diff line number Diff line change 125
125
<td >Container image</td >
126
126
{{ #if build_in_progress }}
127
127
<td >{{ build_image }} </td >
128
- {{ else }}
128
+ {{ else if inspect_url }}
129
129
<td ><a href =" {{ inspect_url }} " >{{ build_image }} </a ></td >
130
+ {{ else }}
131
+ <td >{{ build_image }} </td >
130
132
{{ /if }}
131
133
</tr >
132
134
You can’t perform that action at this time.
0 commit comments