fix: close dialog after download

This commit is contained in:
Shariq Ansari 2024-02-21 13:55:03 +05:30
parent b650914984
commit 4cafb99d4d

View File

@ -303,6 +303,7 @@ async function exportRows() {
let page_length = list.value.params.page_length
window.location.href = `/api/method/frappe.desk.reportview.export_query?file_format_type=${export_type.value}&title=${props.doctype}&doctype=${props.doctype}&fields=${fields}&filters=${filters}&order_by=${order_by}&page_length=${page_length}&start=0&view=Report&with_comment_count=1`
showExportDialog.value = false
}
const defaultViews = [