Skip to content

Commit

Permalink
rename download files
Browse files Browse the repository at this point in the history
  • Loading branch information
ReiHashimoto committed Aug 18, 2023
1 parent cd82a79 commit da75cfa
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const NWBDownloadButton = React.memo<{
<IconButton onClick={onClick} color="primary" disabled={!hasNWB}>
<GetAppIcon />
</IconButton>
<a href={url} download={`${name}.nwb`} className="hidden" ref={ref}>
<a href={url} download={`nwb_${name}.nwb`} className="hidden" ref={ref}>
{/* 警告が出るので空文字を入れておく */}{' '}
</a>
</>
Expand Down Expand Up @@ -75,7 +75,7 @@ export const ConfigDownloadButton = React.memo(() => {
<IconButton onClick={onClick}>
<GetAppIcon color="primary" />
</IconButton>
<a href={url} download={`snakemake.yaml`} className="hidden" ref={ref}>
<a href={url} download={`snakemake_${workspaceId}.yaml`} className="hidden" ref={ref}>
{/* 警告が出るので空文字を入れておく */}{' '}
</a>
</>
Expand Down Expand Up @@ -106,7 +106,7 @@ export const WorkflowDownloadButton = React.memo(() => {
<IconButton onClick={onClick}>
<GetAppIcon color="primary" />
</IconButton>
<a href={url} download={`workflow.yaml`} className="hidden" ref={ref}>
<a href={url} download={`workflow_${workspaceId}.yaml`} className="hidden" ref={ref}>
{/* 警告が出るので空文字を入れておく */}{' '}
</a>
</>
Expand Down

0 comments on commit da75cfa

Please sign in to comment.