1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-24 06:04:04 +03:00

fixed plugin blacklisting

This commit is contained in:
Eugene Pankov 2018-12-29 12:50:14 +01:00
parent ca71ec24f8
commit 92afec75e7

View File

@ -117,7 +117,7 @@ export class PluginsSettingsTabComponent {
} }
disablePlugin (plugin: IPluginInfo) { disablePlugin (plugin: IPluginInfo) {
this.config.store.pluginBlacklist.push(plugin.name) this.config.store.pluginBlacklist = [...this.config.store.pluginBlacklist, plugin.name]
this.config.save() this.config.save()
this.config.requestRestart() this.config.requestRestart()
} }