Clickin on setting team links to proper tab (#1196)
- takes manual ordering into account
This commit is contained in:
@@ -631,7 +631,7 @@ export default class SettingsPage extends React.Component {
|
|||||||
addServer={this.addServer}
|
addServer={this.addServer}
|
||||||
allowTeamEdit={this.state.enableTeamModification}
|
allowTeamEdit={this.state.enableTeamModification}
|
||||||
onTeamClick={(index) => {
|
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}
|
modalContainer={this}
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user