From 31ae40d44d0944f00c4d24322f06bc4241dad9a5 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 1 Feb 2023 06:30:03 +0000 Subject: [PATCH] Working --- lnbits/core/templates/core/install.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lnbits/core/templates/core/install.html b/lnbits/core/templates/core/install.html index 21d369027..db56ca7ad 100644 --- a/lnbits/core/templates/core/install.html +++ b/lnbits/core/templates/core/install.html @@ -372,6 +372,7 @@ .then(response => { extension.isAvailable = true extension.isInstalled = true + this.toggleExtension(extension) extension.inProgress = false this.filteredExtensions = this.extensions.concat([]) this.handleTabChanged('installed') @@ -418,9 +419,7 @@ '=' + extension.id ) - .then(response => { - // this.filteredExtensions = this.extensions.concat([]) - }) + .then(response => {}) .catch(err => { LNbits.utils.notifyApiError(err) extension.inProgress = false @@ -493,7 +492,6 @@ inProgress: false })) this.filteredExtensions = this.extensions.concat([]) - console.log(this.filteredExtensions) for (let i = 0; i < this.filteredExtensions.length; i++) { if (this.filteredExtensions[i].isInstalled != false) { this.handleTabChanged('installed')