Skip to content

Commit

Permalink
feat: change download to href to work on cqls
Browse files Browse the repository at this point in the history
  • Loading branch information
xnought committed May 23, 2024
1 parent 8cdcbef commit fe6182b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions frontend/src/routes/Align.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@
color="light"
outline
size="xs"
on:click={() =>
navigate(backendUrl(`protein/pdb/${combined}`))}
href={backendUrl(`protein/pdb/${combined}`)}
>Download aligned .pdb file<DownloadOutline
size="sm"
class="ml-2"
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/routes/FullScreen.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
color="light"
outline
size="xs"
on:click={() =>
navigate(backendUrl(`/protein/pdb/${entry?.name}`))}
href={backendUrl(`protein/pdb/${entry?.name}`)}
>Download .pdb file<DownloadOutline
size="sm"
class="ml-2"
Expand Down
5 changes: 1 addition & 4 deletions frontend/src/routes/Protein.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,7 @@
outline
size="xs"
color="light"
on:click={() =>
navigate(
backendUrl(`protein/pdb/${entry?.name}`)
)}
href={backendUrl(`protein/pdb/${entry?.name}`)}
>Download .pdb file<DownloadOutline
size="sm"
class="ml-1"
Expand Down

0 comments on commit fe6182b

Please sign in to comment.