Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix: Drops 'filmstrip' from toolbarButtons.
damenchoe4961c2edd64
diff --git a/config.js b/config.jsindex e549669429..8a6600695f 100644--- a/config.js+++ b/config.js@@ -865,7 +865,6 @@ var config = {// 'embedmeeting',// 'etherpad',// 'feedback',- // 'filmstrip',// 'fullscreen',// 'hangup',// 'help',diff --git a/react/features/filmstrip/components/web/Filmstrip.tsx b/react/features/filmstrip/components/web/Filmstrip.tsxindex 4a26881911..a3a9ab6118 100644--- a/react/features/filmstrip/components/web/Filmstrip.tsx+++ b/react/features/filmstrip/components/web/Filmstrip.tsx@@ -18,7 +18,7 @@ import { isNarrowScreenWithChatOpen } from '../../../base/responsive-ui/functionimport { getHideSelfView } from '../../../base/settings/functions.any';import { registerShortcut, unregisterShortcut } from '../../../keyboard-shortcuts/actions';import { showToolbox } from '../../../toolbox/actions.web';-import { isButtonEnabled, isToolboxVisible } from '../../../toolbox/functions.web';+import { isToolboxVisible } from '../../../toolbox/functions.web';import { LAYOUTS } from '../../../video-layout/constants';import { getCurrentLayout } from '../../../video-layout/functions.web';import {@@ -339,11 +339,6 @@ export interface IProps extends WithTranslation {*/_iAmRecorder: boolean;- /**- * Whether the filmstrip button is enabled.- */- _isFilmstripButtonEnabled: boolean;-/*** Whether the available space is when the chat is open. The filmstrip will be hidden if true.*/@@ -644,7 +639,7 @@ class Filmstrip extends PureComponent <IProps, IState> {let toolbar: React.ReactNode = null;- if (!this.props._iAmRecorder && this.props._isFilmstripButtonEnabled+ if (!this.props._iAmRecorder&& _currentLayout !== LAYOUTS.TILE_VIEW&& ((filmstripType === FILMSTRIP_TYPE.MAIN && !_filmstripDisabled)|| (filmstripType === FILMSTRIP_TYPE.STAGE && _topPanelFilmstrip))) {@@ -1237,7 +1232,6 @@ function _mapStateToProps(state: IReduxState, ownProps: any) {_filmstripDisabled: filmstripDisabled,_hasScroll,_iAmRecorder: Boolean(iAmRecorder),- _isFilmstripButtonEnabled: isButtonEnabled('filmstrip', state),_isNarrowScreenWithChatOpen: isNarrowScreenWithChatOpen(state),_isToolboxVisible: isToolboxVisible(state),_isVerticalFilmstrip,diff --git a/react/features/toolbox/constants.ts b/react/features/toolbox/constants.tsindex 5116c6e573..7c4d50a948 100644--- a/react/features/toolbox/constants.ts+++ b/react/features/toolbox/constants.ts@@ -156,7 +156,6 @@ export const TOOLBAR_BUTTONS: ToolbarButton[] = ['etherpad','feedback','filesharing',- 'filmstrip','fullscreen','hangup','help',diff --git a/react/features/toolbox/types.ts b/react/features/toolbox/types.tsindex e3bbb48580..b125cebc32 100644--- a/react/features/toolbox/types.ts+++ b/react/features/toolbox/types.ts@@ -26,7 +26,6 @@ export type ToolbarButton = 'camera' |'etherpad' |'feedback' |'filesharing' |- 'filmstrip' |'fullscreen' |'hangup' |'help' |