mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-10-16 09:43:18 +01:00
Stopped downloads opening a new tab now that it's guaranteed to be an attachment.
This commit is contained in:
committed by
Gregor Vostrak
parent
453d5ed066
commit
28aba7b27a
@@ -9,7 +9,7 @@ const showExportModal = defineModel('show', { default: false });
|
|||||||
|
|
||||||
function downloadCurrentExport() {
|
function downloadCurrentExport() {
|
||||||
if (props.exportUrl) {
|
if (props.exportUrl) {
|
||||||
window.open(props.exportUrl, '_blank')?.focus();
|
window.open(props.exportUrl, '_self');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user