fix(ui) - assist remote btn
This commit is contained in:
parent
d2bd51323b
commit
a531793d97
2 changed files with 4 additions and 2 deletions
|
|
@ -80,7 +80,7 @@ class Router extends React.Component {
|
|||
super(props);
|
||||
if (props.isLoggedIn) {
|
||||
Promise.all([props.fetchUserInfo()])
|
||||
.then(() => this.onLoginLogout());
|
||||
// .then(() => this.onLoginLogout());
|
||||
}
|
||||
props.fetchTenants();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ export interface State {
|
|||
export const INITIAL_STATE: State = {
|
||||
calling: CallingState.False,
|
||||
peerConnectionStatus: ConnectionStatus.Connecting,
|
||||
remoteControl: true,
|
||||
remoteControl: false,
|
||||
}
|
||||
|
||||
const MAX_RECONNECTION_COUNT = 4;
|
||||
|
|
@ -188,6 +188,8 @@ export default class AssistManager {
|
|||
this.connectToPeer();
|
||||
});
|
||||
});
|
||||
|
||||
this.toggleRemoteControl(false);
|
||||
}
|
||||
|
||||
private dataCheckIntervalID: ReturnType<typeof setInterval> | undefined;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue