From 22b2933d8507882ff38dfd6b0322e6838d6e2f74 Mon Sep 17 00:00:00 2001 From: Gregor Vostrak Date: Wed, 11 Sep 2024 14:17:16 +0200 Subject: [PATCH] open export downloads in the same window --- resources/js/Pages/Teams/Partials/ExportData.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/js/Pages/Teams/Partials/ExportData.vue b/resources/js/Pages/Teams/Partials/ExportData.vue index 608bf568..96a7a118 100644 --- a/resources/js/Pages/Teams/Partials/ExportData.vue +++ b/resources/js/Pages/Teams/Partials/ExportData.vue @@ -42,7 +42,7 @@ async function exportData() { showResultModal.value = true; loading.value = false; exportResponse.value = response; - window.open(response.download_url, '_blank')?.focus(); + window.open(response.download_url, '_self')?.focus(); } } } @@ -59,7 +59,7 @@ async function exportData() { The download should start automatically. If it does not click here