Skip to content

Commit

Permalink
Lint/format
Browse files Browse the repository at this point in the history
  • Loading branch information
ramari16 committed Nov 13, 2024
1 parent 0062af2 commit 6ec4194
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/lib/components/explorer/export/ExportStepper.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,9 @@
async function exportToTerra() {
exportLoading = true;
let signedUrl = await getSignedUrl();
window.open("https://app.terra.bio/#import-data?format=pfb&url=" + encodeURIComponent(signedUrl));
window.open(
'https://app.terra.bio/#import-data?format=pfb&url=' + encodeURIComponent(signedUrl),
);
exportLoading = false;
}
</script>
Expand Down Expand Up @@ -453,8 +455,11 @@
<div class="grid grid-cols-3">
<div></div>
<div>
<button disabled="{exportLoading}" class="flex-initial w-64 btn variant-filled-primary disabled:variant-ghost-primary" on:click={() => exportToTerra()}
><i class="fa-solid fa-arrow-up-right-from-square"></i>Export to Terra</button
<button
disabled={exportLoading}
class="flex-initial w-64 btn variant-filled-primary disabled:variant-ghost-primary"
on:click={() => exportToTerra()}
><i class="fa-solid fa-arrow-up-right-from-square"></i>Export to Terra</button
>
</div>
</div>
Expand All @@ -463,10 +468,10 @@
<div></div>
<div>
<button
class="flex-initial w-64 btn variant-filled-primary"
on:click={() =>
class="flex-initial w-64 btn variant-filled-primary"
on:click={() =>
features.confirmDownload ? openConfirmationModal() : download()}
><i class="fa-solid fa-download"></i>Download as PFB</button
><i class="fa-solid fa-download"></i>Download as PFB</button
>
</div>
</div>
Expand Down

0 comments on commit 6ec4194

Please sign in to comment.