mirror of
https://github.com/dkmstr/openuds-gui.git
synced 2024-12-22 17:33:48 +03:00
Filter
This commit is contained in:
parent
8b18f0bb88
commit
7f82006353
@ -20,7 +20,7 @@ export class FilterComponent implements AfterViewInit {
|
|||||||
fromEvent(this.input.nativeElement, 'keyup')
|
fromEvent(this.input.nativeElement, 'keyup')
|
||||||
.pipe(
|
.pipe(
|
||||||
filter(Boolean),
|
filter(Boolean),
|
||||||
debounceTime(1000),
|
debounceTime(600),
|
||||||
distinctUntilChanged(),
|
distinctUntilChanged(),
|
||||||
tap(() => { this.update(this.input.nativeElement.value); })
|
tap(() => { this.update(this.input.nativeElement.value); })
|
||||||
).subscribe();
|
).subscribe();
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<uds-services-group *ngFor="let g of group; let i = index" [services]="g.services" [group]="g.group" [expanded]="i==0"></uds-services-group>
|
<uds-services-group *ngFor="let g of group; let i = index" [services]="g.services" [group]="g.group" [expanded]="i==0"></uds-services-group>
|
||||||
</mat-accordion>
|
</mat-accordion>
|
||||||
</div>
|
</div>
|
||||||
{{ api.config.site_filter_on_top }}
|
|
||||||
<uds-filter (updateEvent)="update($event)" *ngIf="!api.config.site_filter_on_top"></uds-filter>
|
<uds-filter (updateEvent)="update($event)" *ngIf="!api.config.site_filter_on_top"></uds-filter>
|
||||||
|
|
||||||
<uds-staff-info></uds-staff-info>
|
<uds-staff-info></uds-staff-info>
|
Loading…
Reference in New Issue
Block a user