mirror of
https://github.com/dkmstr/openuds-gui.git
synced 2024-12-22 17:33:48 +03:00
added custom value to set filter on top or bottom
This commit is contained in:
parent
129238f3e4
commit
8b18f0bb88
@ -70,7 +70,6 @@ export class ServiceComponent implements OnInit {
|
||||
if (len >= 16) {
|
||||
klass.push('small-' + len.toString());
|
||||
}
|
||||
console.log(this.service.visual_name, len, klass);
|
||||
return klass;
|
||||
}
|
||||
|
||||
|
@ -1,9 +1,11 @@
|
||||
<uds-filter (updateEvent)="update($event)" *ngIf="api.config.site_filter_on_top"></uds-filter>
|
||||
|
||||
<div class="services-groups">
|
||||
<mat-accordion>
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<uds-filter (updateEvent)="update($event)"></uds-filter>
|
||||
{{ api.config.site_filter_on_top }}
|
||||
<uds-filter (updateEvent)="update($event)" *ngIf="!api.config.site_filter_on_top"></uds-filter>
|
||||
|
||||
<uds-staff-info></uds-staff-info>
|
@ -49,6 +49,7 @@ export interface UDSConfig {
|
||||
readonly site_copyright_link: string;
|
||||
readonly site_logo_name: string;
|
||||
readonly site_information: string;
|
||||
readonly site_filter_on_top: boolean;
|
||||
readonly messages: UDSMessages;
|
||||
readonly urls: UDSUrls;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user