mirror of
https://github.com/eugeny/tabby
synced 2025-12-12 18:55:47 +00:00
allow disabling plugins
This commit is contained in:
@@ -170,7 +170,7 @@ export class AppRootComponent {
|
||||
|
||||
private getToolbarButtons (aboveZero: boolean): IToolbarButton[] {
|
||||
let buttons: IToolbarButton[] = []
|
||||
this.toolbarButtonProviders.forEach((provider) => {
|
||||
this.config.enabledServices(this.toolbarButtonProviders).forEach(provider => {
|
||||
buttons = buttons.concat(provider.provide())
|
||||
})
|
||||
return buttons
|
||||
|
||||
Reference in New Issue
Block a user