fix: extension spinner not stopping after install (#3680)

This commit is contained in:
Vlad Stan 2025-12-19 22:01:04 +02:00 committed by GitHub
parent f0e8ae0f5c
commit 08591f34c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

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