Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(HelpButton): Improvements.

Hristo Terezovff2626723a42
diff --git a/config.js b/config.js
index 195444978f..33f70d04d3 100644
--- a/config.js
+++ b/config.js
@@ -419,15 +419,14 @@ var config = {
// the menu has option to flip the locally seen video for local presentations
// disableLocalVideoFlip: false
- // If specified a 'Help' button will be displayed in the overflow menu with a link to the specified URL for
- // user documentation.
- // userDocumentationURL: 'https://docs.example.com/video-meetings.html'
-
- // URLs meant to be opened in different windows.
+ // Deployment specific URLs.
// deploymentUrls: {
- // // If specified a 'Download our apps' button will be displayed in the overflow menu with a link
- // // to the specified URL for an app download page.
- // downloadAppsUrl: 'https://docs.example.com/our-apps.html'
+ // // If specified a 'Help' button will be displayed in the overflow menu with a link to the specified URL for
+ // // user documentation.
+ // userDocumentationURL: 'https://docs.example.com/video-meetings.html',
+ // // If specified a 'Download our apps' button will be displayed in the overflow menu with a link
+ // // to the specified URL for an app download page.
+ // downloadAppsUrl: 'https://docs.example.com/our-apps.html'
// }
// List of undocumented settings used in jitsi-meet
diff --git a/interface_config.js b/interface_config.js
index 99faf8cee0..9620e763ef 100644
--- a/interface_config.js
+++ b/interface_config.js
@@ -51,7 +51,7 @@ var interfaceConfig = {
'fodeviceselection', 'hangup', 'profile', 'info', 'chat', 'recording',
'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand',
'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',
- 'tileview', 'videobackgroundblur', 'download'
+ 'tileview', 'videobackgroundblur', 'download', 'help'
],
SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar' ],
diff --git a/react/features/toolbox/components/HelpButton.js b/react/features/toolbox/components/HelpButton.js
index 7352e724d3..cf42dbdc2d 100644
--- a/react/features/toolbox/components/HelpButton.js
+++ b/react/features/toolbox/components/HelpButton.js
@@ -44,7 +44,7 @@ class HelpButton extends AbstractButton<Props, *> {
* @returns {Object}
*/
function _mapStateToProps(state: Object) {
- const { userDocumentationURL } = state['features/base/config'];
+ const { userDocumentationURL } = state['features/base/config'].deploymentUrls || {};
const visible = typeof userDocumentationURL === 'string';
return {