Update cve export UI (#17814)

Signed-off-by: AllForNothing <sshijun@vmware.com>

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
Shijun Sun 2022-11-18 10:37:50 +08:00 committed by GitHub
parent 57aff88eb5
commit cbfffce413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -287,10 +287,9 @@ export class OperationComponent implements OnInit, OnDestroy {
'yyyyMMddHHmmss'
)}`,
id: item.id,
errorInf:
item.status === ExportJobStatus.ERROR
? item.status_text
: null,
errorInf: item.status_text
? item.status_text
: null,
},
timeStamp: new Date(item.start_time).getTime(),
timeDiff: 'OPERATION.SECOND_AGO',