mirror of
https://github.com/dkmstr/openuds-gui.git
synced 2025-01-09 01:17:37 +03:00
Added minimun number to show "filter" on service list
This commit is contained in:
parent
431f63382d
commit
f8934fe4ae
@ -1,4 +1,4 @@
|
||||
<uds-filter (updateEvent)="update($event)" *ngIf="api.config.site_filter_on_top"></uds-filter>
|
||||
<uds-filter (updateEvent)="update($event)" *ngIf="servicesInformation.services.length >= api.config.min_for_filter && api.config.site_filter_on_top"></uds-filter>
|
||||
|
||||
<div class="services-groups">
|
||||
<mat-accordion>
|
||||
@ -6,6 +6,6 @@
|
||||
</mat-accordion>
|
||||
</div>
|
||||
|
||||
<uds-filter (updateEvent)="update($event)" *ngIf="!api.config.site_filter_on_top"></uds-filter>
|
||||
<uds-filter (updateEvent)="update($event)" *ngIf="servicesInformation.services.length >= api.config.min_for_filter && !api.config.site_filter_on_top"></uds-filter>
|
||||
|
||||
<uds-staff-info></uds-staff-info>
|
@ -56,6 +56,7 @@ export interface UDSConfig {
|
||||
readonly launcher_wait_time: number;
|
||||
readonly messages: UDSMessages;
|
||||
readonly urls: UDSUrls;
|
||||
readonly min_for_filter: number;
|
||||
}
|
||||
|
||||
export interface Downloadable {
|
||||
|
Loading…
Reference in New Issue
Block a user