diff --git a/src/ui/hooks/useDetailsTabs.tsx b/src/ui/hooks/useDetailsTabs.tsx index 454cb359..bab5b483 100644 --- a/src/ui/hooks/useDetailsTabs.tsx +++ b/src/ui/hooks/useDetailsTabs.tsx @@ -46,10 +46,15 @@ export function useDetailsTabs(currentStatus: Status) { case 'Error': return ( <> - {!failedReason &&
{'NA'}
} - - {stacktrace} - + {stacktrace?.length === 0 ? ( +
+ {!!failedReason ? failedReason : 'NA'} +
+ ) : ( + + {stacktrace} + + )} ) default: