diff --git a/lnbits/static/js/components.js b/lnbits/static/js/components.js index e88cce9d..dfaeecbb 100644 --- a/lnbits/static/js/components.js +++ b/lnbits/static/js/components.js @@ -171,6 +171,11 @@ Vue.component('lnbits-extension-list', { Vue.component('lnbits-manage', { props: ['showAdmin', 'showNode', 'showExtensions'], + methods: { + isActive: function (path) { + return window.location.pathname === path + } + }, data: function () { return { extensions: [], @@ -181,29 +186,29 @@ Vue.component('lnbits-manage', {
- + - + - + - + - + - +
- + - + - +