Stopped downloads opening a new tab now that it's guaranteed to be an attachment.

This commit is contained in:
Andrew Herron
2026-07-30 17:24:17 +10:00
committed by Gregor Vostrak
parent 453d5ed066
commit 28aba7b27a

View File

@@ -9,7 +9,7 @@ const showExportModal = defineModel('show', { default: false });
function downloadCurrentExport() {
if (props.exportUrl) {
window.open(props.exportUrl, '_blank')?.focus();
window.open(props.exportUrl, '_self');
}
}
</script>