Pārlūkot izejas kodu

fix(HelpButton): Improvements.

j8
Hristo Terezov 6 gadus atpakaļ
vecāks
revīzija
ff2626723a

+ 7
- 8
config.js Parādīt failu

419
     // the menu has option to flip the locally seen video for local presentations
419
     // the menu has option to flip the locally seen video for local presentations
420
     // disableLocalVideoFlip: false
420
     // disableLocalVideoFlip: false
421
 
421
 
422
-    // If specified a 'Help' button will be displayed in the overflow menu with a link to the specified URL for
423
-    // user documentation.
424
-    // userDocumentationURL: 'https://docs.example.com/video-meetings.html'
425
-
426
-    // URLs meant to be opened in different windows.
422
+    // Deployment specific URLs.
427
     // deploymentUrls: {
423
     // deploymentUrls: {
428
-    //  // If specified a 'Download our apps' button will be displayed in the overflow menu with a link
429
-    //  // to the specified URL for an app download page.
430
-    //  downloadAppsUrl: 'https://docs.example.com/our-apps.html'
424
+    //    // If specified a 'Help' button will be displayed in the overflow menu with a link to the specified URL for
425
+    //    // user documentation.
426
+    //    userDocumentationURL: 'https://docs.example.com/video-meetings.html',
427
+    //    // If specified a 'Download our apps' button will be displayed in the overflow menu with a link
428
+    //    // to the specified URL for an app download page.
429
+    //    downloadAppsUrl: 'https://docs.example.com/our-apps.html'
431
     // }
430
     // }
432
 
431
 
433
     // List of undocumented settings used in jitsi-meet
432
     // List of undocumented settings used in jitsi-meet

+ 1
- 1
interface_config.js Parādīt failu

51
         'fodeviceselection', 'hangup', 'profile', 'info', 'chat', 'recording',
51
         'fodeviceselection', 'hangup', 'profile', 'info', 'chat', 'recording',
52
         'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand',
52
         'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand',
53
         'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',
53
         'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',
54
-        'tileview', 'videobackgroundblur', 'download'
54
+        'tileview', 'videobackgroundblur', 'download', 'help'
55
     ],
55
     ],
56
 
56
 
57
     SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar' ],
57
     SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar' ],

+ 1
- 1
react/features/toolbox/components/HelpButton.js Parādīt failu

44
  * @returns {Object}
44
  * @returns {Object}
45
  */
45
  */
46
 function _mapStateToProps(state: Object) {
46
 function _mapStateToProps(state: Object) {
47
-    const { userDocumentationURL } = state['features/base/config'];
47
+    const { userDocumentationURL } = state['features/base/config'].deploymentUrls || {};
48
     const visible = typeof userDocumentationURL === 'string';
48
     const visible = typeof userDocumentationURL === 'string';
49
 
49
 
50
     return {
50
     return {

Notiek ielāde…
Atcelt
Saglabāt