mirror of https://github.com/Chocobozzz/PeerTube
Don't break install plugin on failure
parent
cbdd81da96
commit
81ed2de85c
client/src/app/+admin/plugins/plugin-search
|
@ -145,7 +145,11 @@ export class PluginSearchComponent implements OnInit {
|
|||
plugin.installed = true
|
||||
},
|
||||
|
||||
error: err => this.notifier.error(err.message)
|
||||
error: err => {
|
||||
this.installing[plugin.npmName] = false
|
||||
|
||||
this.notifier.error(err.message)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue