fix: extension spinner not stopping after install (#3680)
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -86,6 +86,7 @@ window.PageExtensions = {
|
||||
version: release.version
|
||||
})
|
||||
.then(response => {
|
||||
this.selectedExtension.inProgress = false
|
||||
const extension = this.extensions.find(
|
||||
ext => ext.id === this.selectedExtension.id
|
||||
)
|
||||
@@ -100,7 +101,7 @@ window.PageExtensions = {
|
||||
})
|
||||
.catch(err => {
|
||||
console.warn(err)
|
||||
extension.inProgress = false
|
||||
this.selectedExtension.inProgress = false
|
||||
LNbits.utils.notifyApiError(err)
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user