Browse Source

fix(filmstrip) fix button not considering interface config settings

master
Tudor-Ovidiu Avram 4 years ago
parent
commit
35a586df3c
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      react/features/filmstrip/components/web/Filmstrip.js

+ 2
- 1
react/features/filmstrip/components/web/Filmstrip.js View File

@@ -13,6 +13,7 @@ import { translate } from '../../../base/i18n';
13 13
 import { Icon, IconMenuDown, IconMenuUp } from '../../../base/icons';
14 14
 import { connect } from '../../../base/redux';
15 15
 import { dockToolbox } from '../../../toolbox/actions.web';
16
+import { isButtonEnabled } from '../../../toolbox/functions.web';
16 17
 import { getCurrentLayout, LAYOUTS } from '../../../video-layout';
17 18
 import { setFilmstripHovered, setFilmstripVisible } from '../../actions';
18 19
 import { shouldRemoteVideosBeVisible } from '../../functions';
@@ -197,7 +198,7 @@ class Filmstrip extends Component <Props> {
197 198
 
198 199
         let toolbar = null;
199 200
 
200
-        if (!this.props._hideToolbar) {
201
+        if (!this.props._hideToolbar && isButtonEnabled('filmstrip')) {
201 202
             toolbar = this._renderToggleButton();
202 203
         }
203 204
 

Loading…
Cancel
Save