mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
console: show cross icon when status is null in invocation logs tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7940 GitOrigin-RevId: 5fde0b42a85f061c5d443445a914f4ce6b42b823
This commit is contained in:
parent
22d515dcb6
commit
eba7d44d02
@ -28,5 +28,5 @@ export const getEventDeliveryIcon = (delivered: boolean) => {
|
||||
};
|
||||
|
||||
export const getInvocationLogStatus = (status: number) => {
|
||||
return status < 300 ? <CheckIcon /> : <CrossIcon />;
|
||||
return status && status < 300 ? <CheckIcon /> : <CrossIcon />;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user