RED-6713: sort tenants
This commit is contained in:
parent
140ad55646
commit
8ebd5f760d
@ -20,7 +20,9 @@ export class TenantSelectComponent {
|
||||
tenantId: ['', Validators.required],
|
||||
});
|
||||
protected readonly _tenantsService = inject(TenantsService);
|
||||
protected readonly storedTenants = this._tenantsService.getStoredTenants();
|
||||
protected readonly storedTenants = this._tenantsService
|
||||
.getStoredTenants()
|
||||
.sort((a, b) => a.tenant.displayName.localeCompare(b.tenant.displayName));
|
||||
protected readonly titleService = inject(Title);
|
||||
protected readonly toaster = inject(Toaster);
|
||||
readonly #router = inject(Router);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user