Skip to content

Commit

Permalink
feat(edit-content) fix comment #28493
Browse files Browse the repository at this point in the history
  • Loading branch information
oidacra committed Jul 18, 2024
1 parent c14aa55 commit 629d943
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { FormControl, ReactiveFormsModule } from '@angular/forms';

import { InputTextModule } from 'primeng/inputtext';

import { debounceTime, filter, tap } from 'rxjs/operators';
import { debounceTime, distinctUntilChanged, filter, tap } from 'rxjs/operators';

import { DotMessagePipe } from '@dotcms/ui';

Expand Down Expand Up @@ -46,6 +46,7 @@ export class DotCategoryFieldSearchComponent {
.pipe(
takeUntilDestroyed(),
debounceTime(DEBOUNCE_TIME),
distinctUntilChanged(),
tap((value: string) => {
if (value.length === 0) {
this.clearInput();
Expand Down

0 comments on commit 629d943

Please sign in to comment.