From fda950bf6606f189865b69d9552b8936b07d2ce9 Mon Sep 17 00:00:00 2001 From: Jonas Furrer Date: Mon, 22 Jan 2024 17:13:40 +0100 Subject: [PATCH] Sort areas alphabetically --- cloudapp/src/app/components/roleSelect/roleSelect.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudapp/src/app/components/roleSelect/roleSelect.component.ts b/cloudapp/src/app/components/roleSelect/roleSelect.component.ts index d42e212..a7dd962 100644 --- a/cloudapp/src/app/components/roleSelect/roleSelect.component.ts +++ b/cloudapp/src/app/components/roleSelect/roleSelect.component.ts @@ -55,7 +55,7 @@ export class RoleSelectComponent { this.selectedRoles.add(role) } }) - this.areas = Array.from(this.mappedRoles.keys()) + this.areas = Array.from(this.mappedRoles.keys()).sort() this.emitSelectedRoles() }) }