fix issues about image have no data an scan complete time in image detail ,3054,3023

This commit is contained in:
pengpengshui 2017-08-17 14:42:36 +08:00
parent 04929c98f7
commit 78e1f8c8ce
2 changed files with 5 additions and 1 deletions

View File

@ -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;
}
`; `;

View File

@ -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 {