1
0
mirror of https://github.com/google/nomulus synced 2026-01-03 19:54:18 +00:00

Sort registrars list in console (#2820)

This was bugging me slightly
This commit is contained in:
gbrodman
2025-09-05 14:44:17 -04:00
committed by GitHub
parent 6bbd7a2290
commit 2b5643df4c

View File

@@ -25,7 +25,10 @@ export class RegistrarSelectorComponent {
registrarInput = signal<string>(this.registrarService.registrarId()); registrarInput = signal<string>(this.registrarService.registrarId());
filteredOptions?: string[]; filteredOptions?: string[];
allRegistrarIds = computed(() => allRegistrarIds = computed(() =>
this.registrarService.registrars().map((r) => r.registrarId) this.registrarService
.registrars()
.map((r) => r.registrarId)
.sort()
); );
constructor(protected registrarService: RegistrarService) { constructor(protected registrarService: RegistrarService) {