Handle empty rows
This commit is contained in:
parent
ae59b35121
commit
34171b12a1
|
@ -91,5 +91,5 @@ def event_report(context, data_dict):
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"headers": [h["name"] for h in report["columnHeaders"]],
|
"headers": [h["name"] for h in report["columnHeaders"]],
|
||||||
"rows": report["rows"],
|
"rows": report.get("rows", []),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue