From 1e2e669b9e3963f872fbcedc0211f710066c3ded Mon Sep 17 00:00:00 2001 From: Joe Pavitt Date: Tue, 24 Dec 2024 09:13:58 +0000 Subject: [PATCH] Make sure the Team Types are ordered correctly when changing team type --- frontend/src/pages/team/changeType.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/team/changeType.vue b/frontend/src/pages/team/changeType.vue index 73627dcd7f..723a10ebb5 100644 --- a/frontend/src/pages/team/changeType.vue +++ b/frontend/src/pages/team/changeType.vue @@ -254,7 +254,7 @@ export default { teamType.name = `${teamType.name} (current)` } return teamType - }) + }).sort((a, b) => a.order - b.order) this.input.teamTypeId = this.team.type.id const instanceTypes = (await instanceTypesApi.getInstanceTypes()).types