Typos
parent
002950d708
commit
764e02c732
|
|
@ -2117,7 +2117,7 @@ export default class RoomClient
|
||||||
|
|
||||||
if (peerId === this._peerId)
|
if (peerId === this._peerId)
|
||||||
{
|
{
|
||||||
store.dispatch(meActions.addRole({ role }));
|
store.dispatch(meActions.addRole(role));
|
||||||
|
|
||||||
store.dispatch(requestActions.notify(
|
store.dispatch(requestActions.notify(
|
||||||
{
|
{
|
||||||
|
|
@ -2128,7 +2128,7 @@ export default class RoomClient
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
store.dispatch(peerActions.addPeerRole({ peerId, role }));
|
store.dispatch(peerActions.addPeerRole(peerId, role));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
@ -2139,7 +2139,7 @@ export default class RoomClient
|
||||||
|
|
||||||
if (peerId === this._peerId)
|
if (peerId === this._peerId)
|
||||||
{
|
{
|
||||||
store.dispatch(meActions.removeRole({ role }));
|
store.dispatch(meActions.removeRole(role));
|
||||||
|
|
||||||
store.dispatch(requestActions.notify(
|
store.dispatch(requestActions.notify(
|
||||||
{
|
{
|
||||||
|
|
@ -2150,7 +2150,7 @@ export default class RoomClient
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
store.dispatch(peerActions.removePeerRole({ peerId, role }));
|
store.dispatch(peerActions.removePeerRole(peerId, role));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ export const loggedIn = (flag) =>
|
||||||
payload : { flag }
|
payload : { flag }
|
||||||
});
|
});
|
||||||
|
|
||||||
export const addRole = ({ role }) =>
|
export const addRole = (role) =>
|
||||||
({
|
({
|
||||||
type : 'ADD_ROLE',
|
type : 'ADD_ROLE',
|
||||||
payload : { role }
|
payload : { role }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue