Skip to content

Commit

Permalink
Make sure the Team Types are ordered correctly when changing team type
Browse files Browse the repository at this point in the history
  • Loading branch information
joepavitt committed Dec 24, 2024
1 parent aa77197 commit 1e2e669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/team/changeType.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e2e669

Please sign in to comment.