fix(ui): fixing messages for remote control
This commit is contained in:
parent
0477ba615c
commit
8bc28c4796
1 changed files with 1 additions and 1 deletions
|
|
@ -44,9 +44,9 @@ export default class RemoteControl {
|
|||
if (data === socket.id) {
|
||||
if (this.store.get().remoteControl === RemoteControlStatus.Enabled) this.onEnd();
|
||||
this.toggleRemoteControl(false);
|
||||
this.onReject();
|
||||
}
|
||||
if (this.store.get().remoteControl === RemoteControlStatus.Requesting) {
|
||||
this.onReject();
|
||||
return this.store.update({ remoteControl: RemoteControlStatus.Disabled });
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue