diff options
-rw-r--r-- | client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts index b02c054a2..c03e37aa5 100644 --- a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts +++ b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts | |||
@@ -145,7 +145,11 @@ export class PluginSearchComponent implements OnInit { | |||
145 | plugin.installed = true | 145 | plugin.installed = true |
146 | }, | 146 | }, |
147 | 147 | ||
148 | error: err => this.notifier.error(err.message) | 148 | error: err => { |
149 | this.installing[plugin.npmName] = false | ||
150 | |||
151 | this.notifier.error(err.message) | ||
152 | } | ||
149 | }) | 153 | }) |
150 | } | 154 | } |
151 | } | 155 | } |