fix(ui) - assist remote btn

This commit is contained in:
Shekar Siri 2021-12-06 16:34:13 +05:30
parent d2bd51323b
commit a531793d97
2 changed files with 4 additions and 2 deletions

View file

@ -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();
}

View file

@ -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;