mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-13 19:37:42 +01:00
[fix] small fixes for ext upgrades (#2941)
This commit is contained in:
parent
828261d696
commit
69350849b1
1 changed files with 4 additions and 3 deletions
|
@ -608,20 +608,21 @@ window.ExtensionsPageLogic = {
|
|||
ext.isUpgraded = true
|
||||
ext.inProgress = false
|
||||
ext.installedRelease = ext.latestRelease
|
||||
ext.isActive = true
|
||||
this.toggleExtension(ext)
|
||||
} catch (err) {
|
||||
console.warn(err)
|
||||
Quasar.Notify.create({
|
||||
type: 'negative',
|
||||
message: `Failed to update ${ext.code}!`
|
||||
message: `Failed to update ${ext.id}!`
|
||||
})
|
||||
} finally {
|
||||
ext.inProgress = false
|
||||
}
|
||||
}
|
||||
Quasar.Notify.create({
|
||||
type: 'positive',
|
||||
message: `${count} extensions updated!`
|
||||
type: count ? 'positive' : 'warning',
|
||||
message: `${count ? count : 'No'} extensions updated!`
|
||||
})
|
||||
this.showUpdateAllDialog = false
|
||||
setTimeout(() => {
|
||||
|
|
Loading…
Add table
Reference in a new issue