diff --git a/lnbits/extensions/watchonly/static/js/components/my-checkbox/my-checkbox.html b/lnbits/extensions/watchonly/static/components/my-checkbox/my-checkbox.html similarity index 100% rename from lnbits/extensions/watchonly/static/js/components/my-checkbox/my-checkbox.html rename to lnbits/extensions/watchonly/static/components/my-checkbox/my-checkbox.html diff --git a/lnbits/extensions/watchonly/static/js/components/my-checkbox/my-checkbox.js b/lnbits/extensions/watchonly/static/components/my-checkbox/my-checkbox.js similarity index 100% rename from lnbits/extensions/watchonly/static/js/components/my-checkbox/my-checkbox.js rename to lnbits/extensions/watchonly/static/components/my-checkbox/my-checkbox.js diff --git a/lnbits/extensions/watchonly/static/js/index.js b/lnbits/extensions/watchonly/static/js/index.js index 63c765f6..4ed7fd7a 100644 --- a/lnbits/extensions/watchonly/static/js/index.js +++ b/lnbits/extensions/watchonly/static/js/index.js @@ -1,6 +1,6 @@ const watchOnly = async () => { Vue.component(VueQrcode.name, VueQrcode) - await initMyCheckbox('static/js/components/my-checkbox/my-checkbox.html') + await initMyCheckbox('static/components/my-checkbox/my-checkbox.html') Vue.filter('reverse', function (value) { // slice to make a copy of array, then reverse the copy @@ -13,7 +13,6 @@ const watchOnly = async () => { mounted: function () { console.log('### mounted') }, - // components: ['my-checkbox'], data: function () { return { DUST_LIMIT: 546, diff --git a/lnbits/extensions/watchonly/templates/watchonly/index.html b/lnbits/extensions/watchonly/templates/watchonly/index.html index 00d816b2..91c97d44 100644 --- a/lnbits/extensions/watchonly/templates/watchonly/index.html +++ b/lnbits/extensions/watchonly/templates/watchonly/index.html @@ -1712,6 +1712,6 @@ - + {% endblock %}