From: Stephen Smith Date: Sun, 7 Apr 2024 17:02:10 +0000 (-0400) Subject: 21651: Improve formatting and remove warnings X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/9a72938d7fa4786aed241f619476490570933f15 21651: Improve formatting and remove warnings Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- diff --git a/services/workbench2/src/views/process-panel/process-io-card.tsx b/services/workbench2/src/views/process-panel/process-io-card.tsx index d9e7b87c92..8df4a5e678 100644 --- a/services/workbench2/src/views/process-panel/process-io-card.tsx +++ b/services/workbench2/src/views/process-panel/process-io-card.tsx @@ -563,7 +563,11 @@ const ProcessIOPreview = memo( data[index+1] && !isMainRow(data[index+1]) ); - const isMainRow = (param: ProcessIOParameter) => (param && (param.id || param.label && !param.value.secondary)); + const isMainRow = (param: ProcessIOParameter) => ( + param && + ((param.id || param.label) && + !param.value.secondary) + ); const RenderRow = ({index, style}) => { const param = data[index];