@indigina/ui-kit 1.1.269 → 1.1.270
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.
|
@@ -8412,7 +8412,7 @@ class KitGridSearchComponent {
|
|
|
8412
8412
|
this.gridState$ = this.store.select(KIT_GRID_STATE_TOKEN);
|
|
8413
8413
|
}
|
|
8414
8414
|
ngAfterViewInit() {
|
|
8415
|
-
this.kitSearchBarComponent().changed.pipe(debounceTime(500), switchMap(value => value && this.store.dispatch(new SetGridSearch(value)) || this.store.dispatch(new RemoveGridSearch()))).subscribe(() => {
|
|
8415
|
+
this.kitSearchBarComponent().changed.pipe(debounceTime(500), map(value => value.trim()), switchMap(value => value && this.store.dispatch(new SetGridSearch(value)) || this.store.dispatch(new RemoveGridSearch()))).subscribe(() => {
|
|
8416
8416
|
this.kitGridUrlStateService.setGridStateToUrl(this.store.selectSnapshot(KIT_GRID_STATE_TOKEN));
|
|
8417
8417
|
});
|
|
8418
8418
|
}
|