Skip to content

Commit

Permalink
Swapped message condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Santhosh-Sellavel authored Oct 8, 2021
1 parent 9d190f0 commit f736f55
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,11 @@ class IOUParticipantsSplit extends Component {
render() {
const maxParticipantsReached = this.props.participants.length === CONST.REPORT.MAXIMUM_PARTICIPANTS;
const sections = this.getSections(maxParticipantsReached);
const headerMessage = maxParticipantsReached ? '' : getHeaderMessage(
const headerMessage = !maxParticipantsReached ? getHeaderMessage(
this.state.personalDetails.length + this.state.recentReports.length !== 0,
Boolean(this.state.userToInvite),
this.state.searchValue,
);
) : '';
return (
<>
<View style={[styles.flex1, styles.w100]}>
Expand Down

0 comments on commit f736f55

Please sign in to comment.