fix: execution log crashes for logs with no uuid (#13998)

* Fix execution log when no execution id

* Use single quotes

* Pretty
This commit is contained in:
Jack Fragassi 2021-04-08 06:50:23 -07:00 committed by GitHub
parent 7697bc297c
commit 5dd971eaf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ function ExecutionLog({ addDangerToast, isReportEnabled }: ExecutionLogProps) {
row: {
original: { uuid: executionId },
},
}: any) => executionId.slice(0, 6),
}: any) => (executionId ? executionId.slice(0, 6) : 'none'),
accessor: 'uuid',
Header: t('Execution ID'),
size: 'xs',