@sumaris-net/ngx-components 1.3.9 → 1.3.10

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.
@@ -1499,7 +1499,7 @@
1499
1499
  .pipe(operators.map(function (_) { return _this.searchable && _this.formControl.value; })))
1500
1500
  .pipe(
1501
1501
  // If value is a string (and is not = '*'), filter if not enough character
1502
- operators.filter(function (value) { return !(typeof value === 'string' && value === '*') || value.length >= _this.suggestLengthThreshold; }),
1502
+ operators.filter(function (value) { return value === '*' || !(typeof value === 'string') || value.length >= _this.suggestLengthThreshold; }),
1503
1503
  // Distinguish changes
1504
1504
  operators.distinctUntilChanged()))
1505
1505
  .pipe(