projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '16812-token-appears-in-the-download-URL'
[arvados-workbench2.git]
/
src
/
views-components
/
context-menu
/
actions
/
download-action.tsx
diff --git
a/src/views-components/context-menu/actions/download-action.tsx
b/src/views-components/context-menu/actions/download-action.tsx
index 7468954fdd97d293837dd8edfebbc0d5a62a241a..86694c8b5f7b1de7bfa179dd59e2e7b5a0790499 100644
(file)
--- a/
src/views-components/context-menu/actions/download-action.tsx
+++ b/
src/views-components/context-menu/actions/download-action.tsx
@@
-47,7
+47,7
@@
export const DownloadAction = (props: { href?: any, download?: any, onClick?: ()
return props.href || props.kind === 'files'
? <a
style={{ textDecoration: 'none' }}
return props.href || props.kind === 'files'
? <a
style={{ textDecoration: 'none' }}
- href={props.kind === 'files' ? undefined : `${props.href}
?
disposition=attachment`}
+ href={props.kind === 'files' ? undefined : `${props.href}
&
disposition=attachment`}
onClick={props.onClick}
{...downloadProps}>
<ListItem button onClick={() => props.kind === 'files' ? createZip(props.href, props.download) : undefined}>
onClick={props.onClick}
{...downloadProps}>
<ListItem button onClick={() => props.kind === 'files' ? createZip(props.href, props.download) : undefined}>