From 92afec75e79be267108aafd7d93299d7f5afd76e Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sat, 29 Dec 2018 12:50:14 +0100 Subject: [PATCH] fixed plugin blacklisting --- .../src/components/pluginsSettingsTab.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminus-plugin-manager/src/components/pluginsSettingsTab.component.ts b/terminus-plugin-manager/src/components/pluginsSettingsTab.component.ts index b52c6647..9bb40d2e 100644 --- a/terminus-plugin-manager/src/components/pluginsSettingsTab.component.ts +++ b/terminus-plugin-manager/src/components/pluginsSettingsTab.component.ts @@ -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() }