From 207b6b13874b8f797176f6a00bb297be91f4e89e Mon Sep 17 00:00:00 2001 From: Radekor500 Date: Sun, 12 Nov 2023 21:20:01 +0100 Subject: [PATCH] remove reduandant download function --- .../ClientApp/src/views/FileDownloadView.vue | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/SecureSend/ClientApp/src/views/FileDownloadView.vue b/SecureSend/ClientApp/src/views/FileDownloadView.vue index 1fa411b..31750bb 100644 --- a/SecureSend/ClientApp/src/views/FileDownloadView.vue +++ b/SecureSend/ClientApp/src/views/FileDownloadView.vue @@ -30,13 +30,6 @@ const setUpWorker = () => { if (!props.isPasswordProtected) setUpWorker(); -const download = (url: string) => { - const anchor = document.createElement("a"); - anchor.href = url; - document.body.appendChild(anchor); - anchor.click(); -}; - const isPasswordValid = ref(); const verifyPassword = async () => { @@ -70,13 +63,7 @@ const isPasswordValidComputed = computed(