fixed dashboard search

This commit is contained in:
Sofia Papacharalampous 2024-05-23 16:58:54 +03:00
parent cd241ec922
commit aabbc77f4f
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,7 @@ import { MatomoService } from '@app/core/services/matomo/matomo-service';
import { EnumUtils } from '@app/core/services/utilities/enum-utils.service';
import { BaseComponent } from '@common/base/base.component';
import { Lookup } from '@common/model/lookup';
import { debounceTime, takeUntil } from 'rxjs/operators';
import { debounceTime, map, takeUntil } from 'rxjs/operators';
import { nameof } from 'ts-simple-nameof';
@Component({
@ -100,6 +100,7 @@ export class RecentEditedActivityComponent extends BaseComponent implements OnIn
this.formGroup.get('like').valueChanges
.pipe(takeUntil(this._destroyed), debounceTime(500))
.pipe(map(value => value + '%'))
.subscribe(x => {
console.log('valueChanges');
this.refresh()