Fix calls tab clearing clicking on old calls
This commit is contained in:
parent
c3248be854
commit
55dca745c7
5 changed files with 40 additions and 11 deletions
|
@ -34,6 +34,7 @@ type CallsTabProps = Readonly<{
|
|||
options: CallHistoryFilterOptions,
|
||||
pagination: CallHistoryPagination
|
||||
) => Promise<Array<CallHistoryGroup>>;
|
||||
callHistoryEdition: number;
|
||||
getConversation: (id: string) => ConversationType | void;
|
||||
hasFailedStorySends: boolean;
|
||||
hasPendingUpdate: boolean;
|
||||
|
@ -59,6 +60,7 @@ export function CallsTab({
|
|||
otherTabsUnreadStats,
|
||||
getCallHistoryGroupsCount,
|
||||
getCallHistoryGroups,
|
||||
callHistoryEdition,
|
||||
getConversation,
|
||||
hasFailedStorySends,
|
||||
hasPendingUpdate,
|
||||
|
@ -221,6 +223,7 @@ export function CallsTab({
|
|||
hasActiveCall={activeCall != null}
|
||||
getCallHistoryGroupsCount={getCallHistoryGroupsCount}
|
||||
getCallHistoryGroups={getCallHistoryGroups}
|
||||
callHistoryEdition={callHistoryEdition}
|
||||
getConversation={getConversation}
|
||||
i18n={i18n}
|
||||
selectedCallHistoryGroup={selected?.callHistoryGroup ?? null}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue