call in progress animation, crash if button is clicked too soon
This commit is contained in:
@@ -11,9 +11,9 @@ import { Drafty, Tinode } from 'tinode-sdk';
|
||||
import Alert from '../widgets/alert.jsx';
|
||||
import ContextMenu from '../widgets/context-menu.jsx';
|
||||
import ForwardDialog from '../widgets/forward-dialog.jsx';
|
||||
import IncomingCall from '../widgets/call-incoming.jsx';
|
||||
|
||||
import InfoView from './info-view.jsx';
|
||||
import IncomingCallView from '../widgets/call-incoming.jsx';
|
||||
import MessagesView from './messages-view.jsx';
|
||||
import SidepanelView from './sidepanel-view.jsx';
|
||||
|
||||
@@ -1858,7 +1858,7 @@ class TinodeWeb extends React.Component {
|
||||
null
|
||||
}
|
||||
{this.state.callTopic && this.state.callState == CALL_STATE_INCOMING_RECEIVED ?
|
||||
<IncomingCallView
|
||||
<IncomingCall
|
||||
tinode={this.tinode}
|
||||
onClose={this.handleCallClose}
|
||||
topic={this.state.callTopic}
|
||||
|
||||
Reference in New Issue
Block a user