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) {
this.config.store.pluginBlacklist.push(plugin.name)
this.config.store.pluginBlacklist = [...this.config.store.pluginBlacklist, plugin.name]
this.config.save()
this.config.requestRestart()
}