static/frontend/vuln: hide introduced version if empty
For golang/go#48223
Trust: Jamal Carvalho
Run-TryBot: Jamal Carvalho
{{range .Affected}}
<tr>
<td><a href="/{{.Package.Name}}">{{.Package.Name}}</a></td>
- <td>{{range .Ranges}}{{range .Events}}<div>{{.Introduced}}</div>{{end}}{{end}}</td>
+ <td>
+ {{range .Ranges}}{{range .Events}}
+ <div>{{if not (eq .Introduced "0")}}{{.Introduced}}{{end}}</div>
+ {{end}}{{end}}
+ </td>
<td>{{range .Ranges}}{{range .Events}}<div>{{.Fixed}}</div>{{end}}{{end}}</td>
</tr>
{{end}}
