Update bigbluebutton-html5/imports/ui/components/video-provider/video-list/video-list-item/user-actions/component.jsx
Co-authored-by: Ramón Souza <contato@ramonsouza.com>
This commit is contained in:
parent
17427fbd9b
commit
221327e4c5
@ -86,7 +86,7 @@ const UserActions = (props) => {
|
|||||||
const toggleDisableCam = () => {
|
const toggleDisableCam = () => {
|
||||||
if (!isCameraDisabled) {
|
if (!isCameraDisabled) {
|
||||||
Session.set('disabledCams', [...disabledCams, cameraId]);
|
Session.set('disabledCams', [...disabledCams, cameraId]);
|
||||||
notify(intl.formatMessage(intlMessages.disableWarning), 'level', 'warning');
|
notify(intl.formatMessage(intlMessages.disableWarning), 'info', 'warning');
|
||||||
} else {
|
} else {
|
||||||
Session.set('disabledCams', disabledCams.filter((cId) => cId !== cameraId));
|
Session.set('disabledCams', disabledCams.filter((cId) => cId !== cameraId));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user