fix(toolbar): remove ref to removed MAIN_TOOLBAR_BUTTONS (#2787)
This commit is contained in:
parent
8b2ce21e1a
commit
ea1aef0703
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue