Skip to content

Commit

Permalink
fix: labelling bug in UI when editing user roles (#95)
Browse files Browse the repository at this point in the history
* Fix labelling bug in UI when editing user roles

* Remove tenary
  • Loading branch information
shydefoo authored May 8, 2024
1 parent 1755960 commit e5c00c4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,12 @@ function convertRequestToJSONPayload(request, project) {
}
copyOfProject[fieldRole] = roleUsers;
});

return {
name: copyOfProject.name,
administrators: copyOfProject.administrators,
readers: copyOfProject.readers,
stream: copyOfProject.stream,
team: copyOfProject.team
team: copyOfProject.team,
labels: copyOfProject.labels
};
}

0 comments on commit e5c00c4

Please sign in to comment.