fix(ui): fix control stop ev
This commit is contained in:
parent
c5f115affa
commit
b46e929ad5
1 changed files with 1 additions and 1 deletions
|
|
@ -42,8 +42,8 @@ export default class RemoteControl {
|
|||
});
|
||||
socket.on('control_rejected', ({ meta, data }) => {
|
||||
if (data === socket.id) {
|
||||
this.toggleRemoteControl(false);
|
||||
if (this.store.get().remoteControl === RemoteControlStatus.Enabled) this.onEnd();
|
||||
this.toggleRemoteControl(false);
|
||||
}
|
||||
this.onReject();
|
||||
if (this.store.get().remoteControl === RemoteControlStatus.Requesting) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue