From: Stephen Smith Date: Mon, 31 Oct 2022 22:38:12 +0000 (-0400) Subject: 19319: Improve checks for showing cost attributes X-Git-Tag: 2.5.0~26^2~1 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/96cec0234e579d3be8a1c9f3426b726537383707 19319: Improve checks for showing cost attributes Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- diff --git a/src/views/process-panel/process-details-attributes.tsx b/src/views/process-panel/process-details-attributes.tsx index 01dafb3e..226a775b 100644 --- a/src/views/process-panel/process-details-attributes.tsx +++ b/src/views/process-panel/process-details-attributes.tsx @@ -127,10 +127,10 @@ export const ProcessDetailsAttributes = withStyles(styles, { withTheme: true })( } - {container && container.cost && + {container && container.cost > 0 && } - {containerRequest && containerRequest.cumulativeCost && subprocesses.length > 0 && + {containerRequest && containerRequest.cumulativeCost > 0 && subprocesses.length > 0 && } {containerRequest.properties.template_uuid &&