Do not populate left pane on initial link

This commit is contained in:
Josh Perez 2021-04-20 16:16:49 -07:00 committed by GitHub
parent f456bbd3db
commit 5e2d48cc2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 791 additions and 277 deletions

View file

@ -19,10 +19,11 @@ import {
getCandidateContactsForNewGroup,
getCantAddContactForModal,
getComposeContacts,
getComposeGroups,
getComposeGroupAvatar,
getComposeGroupName,
getComposeSelectedContacts,
getComposerContactSearchTerm,
getComposerConversationSearchTerm,
getComposerStep,
getLeftPaneLists,
getMaximumGroupSizeModalState,
@ -96,8 +97,9 @@ const getModeSpecificProps = (
return {
mode: LeftPaneMode.Compose,
composeContacts: getComposeContacts(state),
composeGroups: getComposeGroups(state),
regionCode: getRegionCode(state),
searchTerm: getComposerContactSearchTerm(state),
searchTerm: getComposerConversationSearchTerm(state),
};
case ComposerStep.ChooseGroupMembers:
return {
@ -109,7 +111,7 @@ const getModeSpecificProps = (
OneTimeModalState.Showing,
isShowingMaximumGroupSizeModal:
getMaximumGroupSizeModalState(state) === OneTimeModalState.Showing,
searchTerm: getComposerContactSearchTerm(state),
searchTerm: getComposerConversationSearchTerm(state),
selectedContacts: getComposeSelectedContacts(state),
};
case ComposerStep.SetGroupMetadata: