Skip to content

Commit

Permalink
Add terra configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ramari16 committed Nov 12, 2024
1 parent da26163 commit 2dba108
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/lib/components/explorer/export/ExportStepper.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
}
let tabSet: number = 0;
$: terraLoading = false;
$: exportLoading = false;
function dataLimitExceeded(): boolean {
let participantCount: number =
Expand All @@ -205,8 +205,9 @@
}
async function exportToTerra() {
terraLoading = true;
getSignedUrl("https://app.terra.bio/#import-data?format=pfb&url=");
exportLoading = true;
await getSignedUrl("https://app.terra.bio/#import-data?format=pfb&url=");
exportLoading = false;
}
</script>

Expand Down Expand Up @@ -452,7 +453,7 @@
<div class="grid grid-cols-3">
<div></div>
<div>
<button disabled="{terraLoading}" class="flex-initial w-64 btn variant-filled-primary disabled:variant-ghost-primary" on:click={() => exportToTerra()}
<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>
Expand Down

0 comments on commit 2dba108

Please sign in to comment.