Merge pull request #2123 from hmhealey/plt1711

PLT-1711 Prevent the admin console from switching to a team that is being remo…
Этот коммит содержится в:
Joram Wilander
2016-02-14 08:24:09 -05:00
родитель 54cba38f3b a31f7c9a75
Коммит 89f7e8cf2f

Просмотреть файл

@@ -50,6 +50,7 @@ export default class AdminSidebar extends React.Component {
removeTeam(teamId, e) {
e.preventDefault();
e.stopPropagation();
Reflect.deleteProperty(this.props.selectedTeams, teamId);
this.props.removeSelectedTeam(teamId);