Skip to content

Commit

Permalink
Clickin on setting team links to proper tab (#1196)
Browse files Browse the repository at this point in the history
- takes manual ordering into account
  • Loading branch information
deanwhillier committed Feb 18, 2020
1 parent c990c41 commit 6a7e8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/components/SettingsPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ export default class SettingsPage extends React.Component {
addServer={this.addServer}
allowTeamEdit={this.state.enableTeamModification}
onTeamClick={(index) => {
backToIndex(index + this.state.buildTeams.length + this.state.registryTeams.length);
backToIndex(this.state.localTeams[index].order + this.state.buildTeams.length + this.state.registryTeams.length);
}}
modalContainer={this}
/>
Expand Down

0 comments on commit 6a7e8a4

Please sign in to comment.