diff --git a/lnbits/core/templates/core/install.html b/lnbits/core/templates/core/install.html index 6b20cbc37..6f2dc7f52 100644 --- a/lnbits/core/templates/core/install.html +++ b/lnbits/core/templates/core/install.html @@ -171,36 +171,20 @@ group="extras" icon="download" :label="release.description" - :caption="'Version: ' + release.version" + :caption="release.version" :content-inset-level="0.5" > - - - -
Headers
-
-
-
- - - - - + + +
Headers
+
+
+
Close
@@ -325,7 +309,7 @@ console.log('### showUpgrade') this.selectedExtension = extension this.showUpgradeDialog = true - this.selectedExtensionRepos = [] + this.selectedExtensionRepos = null const {data} = await LNbits.api.request( 'GET', `/api/v1/extension/${extension.id}/releases?usr=${this.g.user.id}`, diff --git a/lnbits/extension_manger.py b/lnbits/extension_manger.py index e3cf294e1..9d77c9127 100644 --- a/lnbits/extension_manger.py +++ b/lnbits/extension_manger.py @@ -109,19 +109,20 @@ class ExtensionRelease(BaseModel): source_repo: str hash: Optional[str] published_at: Optional[str] - url: Optional[str] + html_url: Optional[str] description: Optional[str] @classmethod def from_github_release(cls, source_repo: str, r: dict) -> "ExtensionRelease": return ExtensionRelease( name=r["name"], + description=r["name"], version=r["tag_name"], archive=r["zipball_url"], source_repo=source_repo, # description=r["body"], # bad for JSON published_at=r["published_at"], - url=r["html_url"], + html_url=r["html_url"], ) @classmethod