Skip to content

Commit

Permalink
Fix invitation modal back buton (bad merge resolution) (mattermost#4276)
Browse files Browse the repository at this point in the history
  • Loading branch information
jespino committed Nov 20, 2019
1 parent 2e8c90d commit d56cde6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/invitation_modal/invitation_modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default class InvitationModal extends React.Component {
}

getBackFunction = () => {
if (this.state.step === STEPS_INVITE_CONFIRM && this.invitesNotSent.length > 0) {
if (this.state.step === STEPS_INVITE_CONFIRM && this.state.invitesNotSent.length > 0) {
return this.goToPrevStep;
}
if ((this.state.step === STEPS_INVITE_MEMBERS || this.state.step === STEPS_INVITE_GUESTS) && this.props.canInviteGuests && this.props.canAddUsers) {
Expand Down

0 comments on commit d56cde6

Please sign in to comment.