autoql-fe-utils 1.8.3 → 1.8.4

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.
@@ -17294,7 +17294,7 @@
17294
17294
  }
17295
17295
  let stringColumnIndex;
17296
17296
  if (defaultDateColumn) {
17297
- const defaultDateIndex = columns.findIndex((col) => col.field === defaultDateColumn && col.is_visible);
17297
+ const defaultDateIndex = columns.findIndex((col) => col.name === defaultDateColumn && col.is_visible);
17298
17298
  if (defaultDateIndex >= 0 && stringColumnIndices.includes(defaultDateIndex)) {
17299
17299
  stringColumnIndex = defaultDateIndex;
17300
17300
  }
@@ -17346,7 +17346,7 @@
17346
17346
  let numberColumnIndices2 = [];
17347
17347
  let numberColumnIndexType;
17348
17348
  if (defaultAmountColumn) {
17349
- const defaultAmountIndex = columns.findIndex((col) => col.field === defaultAmountColumn && col.is_visible);
17349
+ const defaultAmountIndex = columns.findIndex((col) => col.name === defaultAmountColumn && col.is_visible);
17350
17350
  if (defaultAmountIndex >= 0) {
17351
17351
  const col = columns[defaultAmountIndex];
17352
17352
  const { type } = col;