diff --git a/src/vendor/Export2Excel.js b/src/vendor/Export2Excel.js index 3a2e8aed..20784f3a 100644 --- a/src/vendor/Export2Excel.js +++ b/src/vendor/Export2Excel.js @@ -145,11 +145,11 @@ export function export_table_to_excel(id) { } export function export_json_to_excel({ - multiHeader, + multiHeader = [], header, data, filename, - merges, + merges = [], autoWidth = true, bookType= 'xlsx' } = {}) {