Don't break install plugin on failure

pull/5271/head
Chocobozzz 2022-09-16 09:53:27 +02:00
parent cbdd81da96
commit 81ed2de85c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 5 additions and 1 deletions

View File

@ -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)
}
})
}
}