@coolon/angular-ui-powerups 13.1.5 → 13.1.7

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.
@@ -2757,11 +2757,8 @@ class ColumnModel extends GarbageCollector {
2757
2757
  onRendererAttached(host, ref) {
2758
2758
  const component = this.getComponentOrEmbeddedView(ref);
2759
2759
  this._cellRendererPortalRef.onPortalAttached(host, component);
2760
- if (ref instanceof CellRendererPortalRef && isFunction(component?.matches)) {
2761
- // we've had the case where we were calling matches on disposed components, so we have
2762
- // to make sure we only handle matches on components that we can track destroys.
2760
+ if (isFunction(component?.matches)) {
2763
2761
  this._cellRendererTextSearchPredicate = (row, text) => component.matches(row, text);
2764
- ref.onDestroy(() => this._cellRendererTextSearchPredicate = undefined);
2765
2762
  }
2766
2763
  else {
2767
2764
  this._cellRendererTextSearchPredicate = undefined;