From 4964eac08e270b060361d829cc4b2a7cb15f2eb3 Mon Sep 17 00:00:00 2001 From: Edmundo Ruiz Ghanem Date: Fri, 12 Aug 2022 15:25:54 -0400 Subject: [PATCH] Fix conditional check in JobItem/MainInfo to prevent it from rendering 0 when there are no attempts --- airbyte-webapp/src/components/JobItem/components/MainInfo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-webapp/src/components/JobItem/components/MainInfo.tsx b/airbyte-webapp/src/components/JobItem/components/MainInfo.tsx index 9cc1e3c3fdeb8..ca8add8a4634c 100644 --- a/airbyte-webapp/src/components/JobItem/components/MainInfo.tsx +++ b/airbyte-webapp/src/components/JobItem/components/MainInfo.tsx @@ -69,7 +69,7 @@ const MainInfo: React.FC = ({ job, attempts = [], isOpen, onExpan ) : ( )} - {attempts.length && ( + {attempts.length > 0 && ( <> {attempts.length > 1 && (