aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-09-16 09:53:27 +0200
committerChocobozzz <me@florianbigard.com>2022-09-16 09:53:27 +0200
commit81ed2de85c4d1cedcb5b4d58f3bfa39c3601ed2a (patch)
tree4c46037e5859173b968d8e3b14dc8d40a5eb95ec /client/src/app
parentcbdd81da96ece934acac0735362f534fbc307bfd (diff)
downloadPeerTube-81ed2de85c4d1cedcb5b4d58f3bfa39c3601ed2a.tar.gz
PeerTube-81ed2de85c4d1cedcb5b4d58f3bfa39c3601ed2a.tar.zst
PeerTube-81ed2de85c4d1cedcb5b4d58f3bfa39c3601ed2a.zip
Don't break install plugin on failure
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts6
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}