From 209cf7fbe0f5e3ba4da29c8635561cfde62f43a1 Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Fri, 30 Aug 2024 12:19:22 +0100 Subject: [PATCH] fix chips on server page (#2654) Fix chips not having the remove functionality Closes #2471 --- lnbits/core/templates/admin/_tab_security.html | 4 ++-- lnbits/core/templates/admin/_tab_users.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lnbits/core/templates/admin/_tab_security.html b/lnbits/core/templates/admin/_tab_security.html index 0f77cf528..dde50c014 100644 --- a/lnbits/core/templates/admin/_tab_security.html +++ b/lnbits/core/templates/admin/_tab_security.html @@ -173,7 +173,7 @@ @remove="removeBlockedIPs(blocked_ip)" color="primary" text-color="white" - v-text="blocked_ip" + :label="blocked_ip" >
@@ -202,7 +202,7 @@ @remove="removeAllowedIPs(allowed_ip)" color="primary" text-color="white" - v-text="allowed_ip" + :label="allowed_ip" >
diff --git a/lnbits/core/templates/admin/_tab_users.html b/lnbits/core/templates/admin/_tab_users.html index be7ec85cf..c14833304 100644 --- a/lnbits/core/templates/admin/_tab_users.html +++ b/lnbits/core/templates/admin/_tab_users.html @@ -23,8 +23,8 @@ @remove="removeAdminUser(user)" color="primary" text-color="white" + :label="user" > -
@@ -49,8 +49,8 @@ @remove="removeAllowedUser(user)" color="primary" text-color="white" + :label="user" > -