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

Loading…
Cancel
Save