From 96cec0234e579d3be8a1c9f3426b726537383707 Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Mon, 31 Oct 2022 18:38:12 -0400 Subject: [PATCH] 19319: Improve checks for showing cost attributes Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- src/views/process-panel/process-details-attributes.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 && -- 2.30.2