mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat: add option to disable desktop sharing
config.disableDesktopSharing - when set to false will disable desktop sharing interfaceConfig.DESKTOP_SHARING_BUTTON_DISABLED_TOOLTIP - when value is assigned, will not hide the desktop sharing button completely, but show as disabled with this value used as the tooltip text.
This commit is contained in:
@@ -43,6 +43,10 @@ export function getButtonAttributesByProps(props: Object = {})
|
||||
result.style = { display: 'none' };
|
||||
}
|
||||
|
||||
if (props.tooltipText) {
|
||||
result.content = props.tooltipText;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user