Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(toolbar): remove ref to removed MAIN_TOOLBAR_BUTTONS (#2787)

virtuacoplennyea1aef0703e8
diff --git a/react/features/toolbox/functions.web.js b/react/features/toolbox/functions.web.js
index 5c570852c0..0c5c31a675 100644
--- a/react/features/toolbox/functions.web.js
+++ b/react/features/toolbox/functions.web.js
@@ -28,6 +28,5 @@ export function getToolboxHeight() {
* is enabled, false - otherwise.
*/
export function isButtonEnabled(name: string) {
- return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1
- || interfaceConfig.MAIN_TOOLBAR_BUTTONS.indexOf(name) !== -1;
+ return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1;
}