Procházet zdrojové kódy

fix(toolbar) restore security button backwards compat

In https://github.com/jitsi/jitsi-meet/pull/8673 we inadvertently removed the
backwards compatibility code which would show the security button when the
"info" button is configured in interface_config. The security button replaced
the info button.
j8
Saúl Ibarra Corretgé před 4 roky
rodič
revize
fd4819aeca

+ 1
- 1
react/features/toolbox/components/web/Toolbox.js Zobrazit soubor

@@ -945,7 +945,7 @@ class Toolbox extends Component<Props> {
945 945
                     key = 'fullscreen'
946 946
                     onClick = { this._onToolbarToggleFullScreen }
947 947
                     text = { _fullScreen ? t('toolbar.exitFullScreen') : t('toolbar.enterFullScreen') } />,
948
-            this._shouldShowButton('security')
948
+            (this._shouldShowButton('security') || this._shouldShowButton('info'))
949 949
             && <SecurityDialogButton
950 950
                 key = 'security'
951 951
                 showLabel = { true } />,

Načítá se…
Zrušit
Uložit