mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-05 18:20:37 +01:00
fix issues about image have no data an scan complete time in image detail ,3054,3023
This commit is contained in:
parent
04929c98f7
commit
78e1f8c8ce
@ -112,4 +112,8 @@ export const TAG_DETAIL_STYLES: string = `
|
|||||||
.tip-icon-low{
|
.tip-icon-low{
|
||||||
color:yellow;
|
color:yellow;
|
||||||
}
|
}
|
||||||
|
.second-column div, .fourth-column div, .image-detail-value div{
|
||||||
|
height: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
`;
|
`;
|
@ -101,7 +101,7 @@ export class TagDetailComponent implements OnInit {
|
|||||||
|
|
||||||
public get scanCompletedDatetime(): Date {
|
public get scanCompletedDatetime(): Date {
|
||||||
return this.tagDetails && this.tagDetails.scan_overview ?
|
return this.tagDetails && this.tagDetails.scan_overview ?
|
||||||
this.tagDetails.scan_overview.update_time : new Date();
|
this.tagDetails.scan_overview.update_time : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public get suffixForHigh(): string {
|
public get suffixForHigh(): string {
|
||||||
|
Loading…
Reference in New Issue
Block a user