Skip to content

Commit

Permalink
fix(toolbar) restore security button backwards compat
Browse files Browse the repository at this point in the history
In #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.
  • Loading branch information
saghul authored and damencho committed Apr 9, 2021
1 parent 7ca04cc commit fd4819a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/features/toolbox/components/web/Toolbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ class Toolbox extends Component<Props> {
key = 'fullscreen'
onClick = { this._onToolbarToggleFullScreen }
text = { _fullScreen ? t('toolbar.exitFullScreen') : t('toolbar.enterFullScreen') } />,
this._shouldShowButton('security')
(this._shouldShowButton('security') || this._shouldShowButton('info'))
&& <SecurityDialogButton
key = 'security'
showLabel = { true } />,
Expand Down

0 comments on commit fd4819a

Please sign in to comment.