From 466151a10c5e92d2543212e187a5763b3a09e96b Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk <3636685+Palid@users.noreply.github.com> Date: Tue, 3 Aug 2021 15:00:55 +0200 Subject: [PATCH] Update src/components/views/voip/CallPreview.tsx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Šimon Brandner --- src/components/views/voip/CallPreview.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/views/voip/CallPreview.tsx b/src/components/views/voip/CallPreview.tsx index 0607215e0c..e68e9fd148 100644 --- a/src/components/views/voip/CallPreview.tsx +++ b/src/components/views/voip/CallPreview.tsx @@ -144,9 +144,10 @@ export default class CallPreview extends React.Component { private onAction = (payload: ActionPayload) => { switch (payload.action) { - // listen for call state changes to prod the render method, which - // may hide the global CallView if the call it is tracking is dead case 'call_state': { + // listen for call state changes to prod the render method, which + // may hide the global CallView if the call it is tracking is dead + this.updateCalls(); break; } @@ -197,4 +198,3 @@ export default class CallPreview extends React.Component { return ; } } -