Remove call back/again buttons on pending call
This commit is contained in:
parent
88f004ac81
commit
4fc46c40d4
1 changed files with 3 additions and 0 deletions
|
@ -104,6 +104,9 @@ function renderCallingNotificationButton(
|
|||
switch (props.callHistory.mode) {
|
||||
case CallMode.Direct: {
|
||||
const { direction, type } = props.callHistory;
|
||||
if (props.callHistory.status === DirectCallStatus.Pending) {
|
||||
return null;
|
||||
}
|
||||
buttonText =
|
||||
direction === CallDirection.Incoming
|
||||
? i18n('icu:calling__call-back')
|
||||
|
|
Loading…
Reference in a new issue