@one-paragon/angular-utilities 2.0.2 → 2.0.3

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.
@@ -3974,7 +3974,7 @@ class GenericTableComponent {
3974
3974
  if (val == undefined || val === 'null')
3975
3975
  return '';
3976
3976
  try {
3977
- return this.transformCreator.createTransformer(this.state.$getMetaData(key)(), true, true)(val);
3977
+ return this.transformCreator.createTransformer(this.state.$getMetaData(key)(), true, true)({ [`${key}`]: val });
3978
3978
  }
3979
3979
  catch (error) {
3980
3980
  return val;
@@ -5279,7 +5279,10 @@ class VirtualScrollContainer {
5279
5279
  const minAmountOfRows = virtualScrollOptions?.amountOfVisibleItems || this.defaultOptions.amountOfVisibleItems;
5280
5280
  const amountOfVisibleItems = Math.min(Math.max(amountOfRowsThatWillFit, minAmountOfRows), this.$dataLength());
5281
5281
  let height = (rowHeight * amountOfVisibleItems);
5282
- height += (footerHeight + headerHeight) - 10;
5282
+ if (height < available) {
5283
+ height += 22;
5284
+ }
5285
+ height += (footerHeight + headerHeight);
5283
5286
  this.setHeight(height, el);
5284
5287
  }
5285
5288
  setHeight(height, el) {