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:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user