mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-13 03:10:45 +01:00
Hide version property if the value is undefined (#19395)
1.Related issue #19391 Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
3338f27189
commit
d0322dfcba
@ -229,10 +229,15 @@
|
||||
<div class="clr-col-2">
|
||||
{{ item?.cvss_score_v3 }}
|
||||
</div>
|
||||
<div
|
||||
class="clr-col-4 ellipsis"
|
||||
title="{{ item?.package + '@' + item?.version }}">
|
||||
{{ item?.package + '@' + item?.version }}
|
||||
<div class="clr-col-4 ellipsis">
|
||||
<span
|
||||
*ngIf="item?.version"
|
||||
title="{{ item?.package + '@' + item?.version }}">
|
||||
{{ item?.package + '@' + item?.version }}
|
||||
</span>
|
||||
<span *ngIf="!item?.version" title="{{ item?.package }}">
|
||||
{{ item?.package }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user