From: Stephen Smith Date: Wed, 28 Jul 2021 20:55:01 +0000 (-0400) Subject: 17526: Fix webdav dialog > wget tab command copy button only copying url X-Git-Tag: 2.3.0~12^2~3 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/64c1e51d2d973cb0ef0f982afbb80efdb2700ea0 17526: Fix webdav dialog > wget tab command copy button only copying url Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- diff --git a/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx b/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx index 50d50944..73c89621 100644 --- a/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx +++ b/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx @@ -142,6 +142,8 @@ export const WebDavS3InfoDialog = compose( activeTab = 2; } + const wgetCommand = `wget --http-user=${props.data.username} --http-passwd=${props.data.token} --mirror --no-parent --no-host --cut-dirs=0 ${winDav.toString()}`; + return + value={wgetCommand} + copyValue={wgetCommand} />