diff --git a/src/pages/NewChatPage.js b/src/pages/NewChatPage.js index 6b94785958f2..96b2153541f3 100755 --- a/src/pages/NewChatPage.js +++ b/src/pages/NewChatPage.js @@ -65,6 +65,7 @@ class NewChatPage extends Component { props.reports, props.personalDetails, '', + false, props.betas, ); @@ -153,6 +154,7 @@ class NewChatPage extends Component { this.props.reports, this.props.personalDetails, searchValue, + false, this.props.betas, ); this.setState({ diff --git a/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsRequest.js b/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsRequest.js index 19bdb905ccdf..2b671c1f0325 100755 --- a/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsRequest.js +++ b/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsRequest.js @@ -21,6 +21,9 @@ const personalDetailsPropTypes = PropTypes.shape({ }); const propTypes = { + /** Beta features list */ + betas: PropTypes.arrayOf(PropTypes.string).isRequired, + /** Callback to inform parent modal of success */ onStepComplete: PropTypes.func.isRequired, @@ -54,6 +57,7 @@ class IOUParticipantsRequest extends Component { props.personalDetails, '', true, + props.betas, ); this.state = { @@ -125,6 +129,7 @@ class IOUParticipantsRequest extends Component { this.props.personalDetails, searchValue, true, + this.props.betas, ); this.setState({ searchValue, @@ -153,5 +158,8 @@ export default compose( reports: { key: ONYXKEYS.COLLECTION.REPORT, }, + betas: { + key: ONYXKEYS.BETAS, + }, }), )(IOUParticipantsRequest); diff --git a/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsSplit.js b/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsSplit.js index df8b40695799..2aa79d7b9e6e 100755 --- a/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsSplit.js +++ b/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsSplit.js @@ -25,6 +25,9 @@ const personalDetailsPropTypes = PropTypes.shape({ }); const propTypes = { + /** Beta features list */ + betas: PropTypes.arrayOf(PropTypes.string).isRequired, + /** Callback to inform parent modal of success */ onStepComplete: PropTypes.func.isRequired, @@ -78,6 +81,7 @@ class IOUParticipantsSplit extends Component { '', props.participants, true, + props.betas, ); this.state = { @@ -178,6 +182,7 @@ class IOUParticipantsSplit extends Component { isOptionInList ? prevState.searchValue : '', newSelectedOptions, true, + this.props.betas, ); return { recentReports, @@ -213,6 +218,7 @@ class IOUParticipantsSplit extends Component { searchValue, [], true, + this.props.betas, ); this.setState({ searchValue, @@ -253,5 +259,8 @@ export default compose( reports: { key: ONYXKEYS.COLLECTION.REPORT, }, + betas: { + key: ONYXKEYS.BETAS, + }, }), )(IOUParticipantsSplit);