mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
fix: fix cron trigger invocation logs status
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9348 GitOrigin-RevId: 72ba393e7f945260397b337cec489224f86230fc
This commit is contained in:
parent
b3393cc344
commit
866ce9c3e7
@ -158,6 +158,7 @@ const InvocationLogsTable: React.FC<Props> = props => {
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
const rowsFormatted = rows.map(r => {
|
||||
let formattedRow: any = {};
|
||||
Object.keys(r).forEach((col: string) => {
|
||||
@ -165,7 +166,7 @@ const InvocationLogsTable: React.FC<Props> = props => {
|
||||
});
|
||||
formattedRow = {
|
||||
...formattedRow,
|
||||
status: <div>{getInvocationLogStatus(r.http_status)}</div>,
|
||||
status: <div>{getInvocationLogStatus(r.http_status || r.status)}</div>,
|
||||
created_at: r.created_at && (
|
||||
<div>{convertDateTimeToLocale(r.created_at)}</div>
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user