Pārlūkot izejas kodu

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

master
virtuacoplenny 7 gadus atpakaļ
vecāks
revīzija
ea1aef0703
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1
    2
      react/features/toolbox/functions.web.js

+ 1
- 2
react/features/toolbox/functions.web.js Parādīt failu

28
  * is enabled, false - otherwise.
28
  * is enabled, false - otherwise.
29
  */
29
  */
30
 export function isButtonEnabled(name: string) {
30
 export function isButtonEnabled(name: string) {
31
-    return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1
32
-            || interfaceConfig.MAIN_TOOLBAR_BUTTONS.indexOf(name) !== -1;
31
+    return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1;
33
 }
32
 }

Notiek ielāde…
Atcelt
Saglabāt