fix: quick-actions not showing team names

This commit is contained in:
WofWca 2023-03-02 16:48:58 +04:00
parent 9b3e185dd4
commit 1e09f0889a
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ function searchTeams() {
teamService.getAll({}, { s: t }),
)
const teamsResult = await Promise.all(teamSearchPromises)
foundTeams.value = teamsResult.flatMap((team) => {
foundTeams.value = teamsResult.flat().map((team) => {
team.title = team.name
return team
})