mirror of
https://github.com/edumeet/edumeet.git
synced 2026-01-23 02:34:58 +00:00
Fix seting draw state
This commit is contained in:
parent
1eeebb5f51
commit
f7083c894b
1 changed files with 8 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ const initialState =
|
|||
closeMeetingInProgress : false,
|
||||
clearChatInProgress : false,
|
||||
clearFileSharingInProgress : false,
|
||||
inDrawingMode : false,
|
||||
roomPermissions : null,
|
||||
userRoles : null,
|
||||
allowWhenRoleMissing : null
|
||||
|
|
@ -185,6 +186,13 @@ const room = (state = initialState, action) =>
|
|||
return { ...state, torrentSupport: supported };
|
||||
}
|
||||
|
||||
case 'TOGGLE_DRAWING_MODE':
|
||||
{
|
||||
const { started } = action.payload;
|
||||
|
||||
return { ...state, inDrawingMode: (started ? true : false) };
|
||||
}
|
||||
|
||||
case 'TOGGLE_JOINED':
|
||||
{
|
||||
const joined = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue