This commit is contained in:
2020-10-23 23:13:00 +00:00
parent 5849e40c82
commit 6b06984df2

View File

@@ -48,7 +48,7 @@ export default {
let href = window.$gz.api.genericDownloadUrl( let href = window.$gz.api.genericDownloadUrl(
"export/download/" + res.data "export/download/" + res.data
); );
if (window.open(reportUrl, "DownloadExport") == null) { if (window.open(href, "DownloadExport") == null) {
throw new Error( throw new Error(
"Unable to download, your browser rejected navigating to download url." "Unable to download, your browser rejected navigating to download url."
); );