feat: complete use of LNBITS_EXTENSIONS_DEACTIVATE_ALL (#2341)

- add to admin ui
- move to `ExtensionsSettings`
- hide left navbar when disabled
- do not register extension routes on startup
- do not check for installed extensions on startup
- reafctor into register_all_ext_routes
This commit is contained in:
dni ⚡
2024-03-26 11:44:33 +01:00
committed by GitHub
parent 86821f4606
commit b9f0af0e79
7 changed files with 36 additions and 19 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -170,7 +170,7 @@ Vue.component('lnbits-extension-list', {
})
Vue.component('lnbits-manage', {
props: ['showAdmin', 'showNode'],
props: ['showAdmin', 'showNode', 'showExtensions'],
data: function () {
return {
extensions: [],
@@ -198,7 +198,7 @@ Vue.component('lnbits-manage', {
</q-item-section>
</q-item>
</div>
<q-item clickable tag="a" href="/extensions">
<q-item v-if="showExtensions" clickable tag="a" href="/extensions">
<q-item-section side>
<q-icon name="extension" color="grey-5" size="md"></q-icon>
</q-item-section>