web: basic api interaction & downloading

download button now acts the way it should with various states
This commit is contained in:
wukko
2024-06-16 18:22:44 +06:00
parent 324729eb21
commit 1f2c28bd02
4 changed files with 104 additions and 5 deletions

View File

@@ -60,7 +60,7 @@
<ClearButton click={() => (link = "")} />
{/if}
{#if validLink(link)}
<DownloadButton />
<DownloadButton url={link} />
{/if}
</div>