[MM-25526] Removed fix for flaky test causing visual issues with Add New Server flow (#1302)

This commit is contained in:
Devin Binnie
2020-05-28 10:35:17 -04:00
committed by GitHub
parent 16ea9df188
commit 0725ed9b51
3 changed files with 0 additions and 6 deletions

View File

@@ -141,7 +141,6 @@ export default class NewTeamModal extends React.Component {
enforceFocus={true}
onEntered={() => this.teamNameInputRef.focus()}
onHide={this.props.onClose}
container={this.props.modalContainer}
restoreFocus={this.props.restoreFocus}
onKeyDown={(e) => {
switch (e.key) {
@@ -239,7 +238,6 @@ NewTeamModal.propTypes = {
team: PropTypes.object,
editMode: PropTypes.bool,
show: PropTypes.bool,
modalContainer: PropTypes.object,
restoreFocus: PropTypes.bool,
currentOrder: PropTypes.number,
setInputRef: PropTypes.func,

View File

@@ -635,7 +635,6 @@ export default class SettingsPage extends React.Component {
onTeamClick={(index) => {
backToIndex(this.state.localTeams[index].order + this.state.buildTeams.length + this.state.registryTeams.length);
}}
modalContainer={this}
/>
</Col>
</Row>

View File

@@ -155,7 +155,6 @@ export default class TeamList extends React.Component {
this.props.setAddTeamFormVisibility(false);
}}
team={this.state.team}
modalContainer={this.props.modalContainer}
/>);
const removeServer = this.props.teams[this.state.indexToRemoveServer];
@@ -169,7 +168,6 @@ export default class TeamList extends React.Component {
this.handleTeamRemove(this.state.indexToRemoveServer);
this.closeServerRemoveModal();
}}
modalContainer={this.props.modalContainer}
/>
);
@@ -192,5 +190,4 @@ TeamList.propTypes = {
toggleAddTeamForm: PropTypes.func,
setAddTeamFormVisibility: PropTypes.func,
onTeamClick: PropTypes.func,
modalContainer: PropTypes.object,
};