From 3e8267eccc779699eed3f567524c61693200b93f Mon Sep 17 00:00:00 2001 From: Marc Farra Date: Thu, 2 Sep 2021 15:06:18 +0300 Subject: [PATCH] Fix empty profileValues bug --- pages/team-edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/team-edit.js b/pages/team-edit.js index 0c7fc6ba..73905dda 100644 --- a/pages/team-edit.js +++ b/pages/team-edit.js @@ -33,7 +33,7 @@ export default class TeamEdit extends Component { try { let team = await getTeam(id) let teamAttributes = [] - let profileValues = {} + let profileValues = [] if (team.org) { teamAttributes = await getOrgTeamAttributes(team.org.organization_id) profileValues = await getTeamProfile(id)