Clear selected contacts when creating a custom story
This commit is contained in:
parent
633f5094c3
commit
60b30d04cd
2 changed files with 1 additions and 5 deletions
|
@ -420,6 +420,7 @@ export function SendStoryModal({
|
||||||
getPreferredBadge={getPreferredBadge}
|
getPreferredBadge={getPreferredBadge}
|
||||||
i18n={i18n}
|
i18n={i18n}
|
||||||
onCreateList={(name, uuids) => {
|
onCreateList={(name, uuids) => {
|
||||||
|
setSelectedContacts([]);
|
||||||
onDistributionListCreated(name, uuids);
|
onDistributionListCreated(name, uuids);
|
||||||
setPage(Page.SendStory);
|
setPage(Page.SendStory);
|
||||||
}}
|
}}
|
||||||
|
|
|
@ -951,11 +951,6 @@ type EditDistributionListModalPropsType = {
|
||||||
onBackButtonClick: () => void;
|
onBackButtonClick: () => void;
|
||||||
} & Pick<PropsType, 'candidateConversations' | 'getPreferredBadge' | 'i18n'>;
|
} & Pick<PropsType, 'candidateConversations' | 'getPreferredBadge' | 'i18n'>;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @param param0
|
|
||||||
* @returns
|
|
||||||
*/
|
|
||||||
export function EditDistributionListModal({
|
export function EditDistributionListModal({
|
||||||
candidateConversations,
|
candidateConversations,
|
||||||
getPreferredBadge,
|
getPreferredBadge,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue