From d56cde6341bf80ee4ed77b9da3746e7994e20b37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Wed, 20 Nov 2019 19:40:11 +0100 Subject: [PATCH] Fix invitation modal back buton (bad merge resolution) (#4276) --- components/invitation_modal/invitation_modal.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/invitation_modal/invitation_modal.jsx b/components/invitation_modal/invitation_modal.jsx index c0696ebcf944..19b511cb1afd 100644 --- a/components/invitation_modal/invitation_modal.jsx +++ b/components/invitation_modal/invitation_modal.jsx @@ -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) {