Skip to content

Commit

Permalink
Merge pull request #4961 from FlowFuse/change-type-order
Browse files Browse the repository at this point in the history
Make sure the Team Types are ordered correctly when changing team type
  • Loading branch information
joepavitt authored Dec 24, 2024
2 parents aa77197 + 1e2e669 commit bfd9fa3
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 bfd9fa3

Please sign in to comment.