diff --git a/webapp/components/admin_console/select_team_modal.jsx b/webapp/components/admin_console/select_team_modal.jsx index ed6d330563..6a1fe9bea7 100644 --- a/webapp/components/admin_console/select_team_modal.jsx +++ b/webapp/components/admin_console/select_team_modal.jsx @@ -29,20 +29,18 @@ export default class SelectTeamModal extends React.Component { } var options = []; - - for (var key in this.props.teams) { - if (this.props.teams.hasOwnProperty(key)) { - var team = this.props.teams[key]; - options.push( - - ); - } - } + var teams = this.props.teams; + Reflect.ownKeys(teams).forEach((key) => { + var team = teams[key]; + options.push( + + ); + }); return (