Skip to content

Commit

Permalink
Update ant-design-charts-blazor.js
Browse files Browse the repository at this point in the history
Column chart reports an error when the data is empty
  • Loading branch information
HuaFangYun authored Oct 20, 2023
1 parent 49a967a commit bc8131e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AntDesign.Charts/wwwroot/ant-design-charts-blazor.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function proccessObject(o) {
if (o[attr] === null || o[attr] === undefined) delete o[attr];
else if (typeof o[attr] == 'object') {
removeNullItem(o[attr]);
if (isEmptyObj(o[attr])) delete o[attr];
if (isEmptyObj(o[attr]) && attr!="data") delete o[attr];
}
}
}
Expand Down

0 comments on commit bc8131e

Please sign in to comment.