diff --git a/lnbits/core/templates/core/install.html b/lnbits/core/templates/core/install.html index 9141d345..78d009e4 100644 --- a/lnbits/core/templates/core/install.html +++ b/lnbits/core/templates/core/install.html @@ -2,9 +2,7 @@ %} {{ window_vars(user, extensions) }}{% block page %}
-

- Add Extensions(admin only) -

+

Add Extensions

@@ -467,6 +465,13 @@ } }, created: function () { + if (!this.g.user.admin) { + this.$q.notify({ + timeout: 3000, + message: 'Only Admins can install extensions', + icon: null + }) + } this.extensions = JSON.parse('{{extensions | tojson | safe}}').map(e => ({ ...e, inProgress: false