Skip to content

Commit 49ff2c8

Browse files
committed
Sort registrars list in console
This was bugging me slightly
1 parent 77ab80f commit 49ff2c8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

console-webapp/src/app/registrar/registrarSelector.component.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ export class RegistrarSelectorComponent {
2525
registrarInput = signal<string>(this.registrarService.registrarId());
2626
filteredOptions?: string[];
2727
allRegistrarIds = computed(() =>
28-
this.registrarService.registrars().map((r) => r.registrarId)
28+
this.registrarService
29+
.registrars()
30+
.map((r) => r.registrarId)
31+
.sort()
2932
);
3033

3134
constructor(protected registrarService: RegistrarService) {

0 commit comments

Comments
 (0)