diff --git a/frappe/public/js/frappe/views/reports/report_utils.js b/frappe/public/js/frappe/views/reports/report_utils.js index 8c0d3a38fdb..5531eebba66 100644 --- a/frappe/public/js/frappe/views/reports/report_utils.js +++ b/frappe/public/js/frappe/views/reports/report_utils.js @@ -197,6 +197,6 @@ frappe.report_utils = { return `
${items.join("")}
`; }); - return `
${columns_with_container.join("")}
`; + return columns_with_container.length ? `
${columns_with_container.join("")}
` : ""; } };