From: Stephen Smith Date: Mon, 17 Oct 2022 21:17:18 +0000 (-0400) Subject: 16073: Display root directories with '/' X-Git-Tag: 2.5.0~31^2~11 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/d2eeb3ba4be53b34a03b9bc8567cc42442f24a41 16073: Display root directories with '/' Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- diff --git a/src/views/process-panel/process-io-card.tsx b/src/views/process-panel/process-io-card.tsx index b5bc08bc..a58f6f79 100644 --- a/src/views/process-panel/process-io-card.tsx +++ b/src/views/process-panel/process-io-card.tsx @@ -614,9 +614,8 @@ const KeepUrlPath = withStyles(styles)(({auth, res, pdh, classes}: KeepUrlProps const keepUrlPath = keepUrlParts.length > 1 ? keepUrlParts.slice(1).join('/') : ''; const keepUrlPathNav = getKeepNavUrl(auth, res, pdh); - return keepUrlPath && keepUrlPathNav ? - {keepUrlPath} : - // Show No value for root collection io that lacks path part + return keepUrlPathNav ? + {keepUrlPath || '/'} : ; });