@sachin9822/reports-lib 0.0.220 → 0.0.221

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5944,6 +5944,10 @@ class AccountingReportComponent {
5944
5944
  const columnApi = this.gridColumnApis[id];
5945
5945
  if (!columnApi)
5946
5946
  return;
5947
+ const columns = columnApi.getColumns();
5948
+ // prevent undefined error
5949
+ if (!columns?.length)
5950
+ return;
5947
5951
  const allColumnIds = [];
5948
5952
  columnApi.getColumns().forEach((column) => {
5949
5953
  allColumnIds.push(column.getId());