[MM-25526] Removed fix for flaky test causing visual issues with Add New Server flow (#1302)
This commit is contained in:
@@ -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,
|
||||
|
@@ -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>
|
||||
|
@@ -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,
|
||||
};
|
||||
|
Reference in New Issue
Block a user