diff --git a/src/static/app/src/components/configurationComponents/selectPeers.vue b/src/static/app/src/components/configurationComponents/selectPeers.vue index 30bee39..e8b207c 100644 --- a/src/static/app/src/components/configurationComponents/selectPeers.vue +++ b/src/static/app/src/components/configurationComponents/selectPeers.vue @@ -71,14 +71,11 @@ const el = useTemplateRef("sp") console.log(el.value) const submitDownload = async () => { downloadConfirmation.value = true - // await sleep(100) for (const x of selectedPeers.value) { - // await sleep(100) cardBody.value.scrollTo({ top: el.value.find(y => y.dataset.id === x).offsetTop - 20, behavior: 'smooth' }) - await fetchGet("/api/downloadPeer/"+route.params.id, { id: x }, (res) => { @@ -95,7 +92,6 @@ const submitDownload = async () => { downloaded.failed.push(x) } }) - } } const clearDownload = () => {