mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-22 14:22:55 +01:00
feat: add is isAvailable
flag
This commit is contained in:
parent
584b667637
commit
0195c242c2
1 changed files with 2 additions and 1 deletions
|
@ -123,7 +123,8 @@ async def extensions_install(
|
|||
"shortDescription": ext.short_description,
|
||||
"stars": ext.stars,
|
||||
"dependencies": ext.dependencies,
|
||||
"isInstalled": ext.id in all_extensions,
|
||||
"isInstalled": ext.id in installed_extensions_ids,
|
||||
"isAvailable": ext.id in all_extensions,
|
||||
"isActive": not ext.id in inactive_extensions,
|
||||
"latestRelease": dict(ext.latest_release)
|
||||
if ext.latest_release
|
||||
|
|
Loading…
Add table
Reference in a new issue