mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-06-15 13:32:43 +01:00
open export downloads in the same window
This commit is contained in:
committed by
Constantin Graf
parent
6dd9d5bab0
commit
22b2933d85
@@ -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
|
||||
<a
|
||||
class="font-semibold text-accent-200 hover:text-accent-300"
|
||||
target="_blank"
|
||||
target="_self"
|
||||
:href="exportResponse?.download_url"
|
||||
>click here</a
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user