mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
fix(whiteboard) fix disabling button
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
c7cfb5218d
commit
eee58b2945
@@ -52,7 +52,7 @@ const hasCollabDetails = (state: IReduxState): boolean => Boolean(
|
||||
* @returns {boolean}
|
||||
*/
|
||||
export const isWhiteboardEnabled = (state: IReduxState): boolean =>
|
||||
(getWhiteboardConfig(state).enabled || hasCollabDetails(state))
|
||||
(getWhiteboardConfig(state).enabled ?? hasCollabDetails(state))
|
||||
&& getWhiteboardConfig(state).collabServerBaseUrl
|
||||
&& getCurrentConference(state)?.getMetadataHandler()
|
||||
?.isSupported();
|
||||
|
||||
Reference in New Issue
Block a user