瀏覽代碼

fix(filmstrip) fix button not considering interface config settings

master
Tudor-Ovidiu Avram 4 年之前
父節點
當前提交
35a586df3c
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      react/features/filmstrip/components/web/Filmstrip.js

+ 2
- 1
react/features/filmstrip/components/web/Filmstrip.js 查看文件

@@ -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…
取消
儲存