From 4cafbe9610fe569a7b68fba32b646a44d4427b0f Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Mon, 23 Mar 2026 21:48:33 +0100 Subject: [PATCH] fix(tenancy): use Python .lower() instead of JS .toLowerCase() in template Merchant team page called .toLowerCase() on a Jinja2 string (Python), causing UndefinedError. Fixed to .lower(). Co-Authored-By: Claude Opus 4.6 (1M context) --- app/modules/tenancy/templates/tenancy/merchant/team.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/tenancy/templates/tenancy/merchant/team.html b/app/modules/tenancy/templates/tenancy/merchant/team.html index 67a336e6..a55cdd40 100644 --- a/app/modules/tenancy/templates/tenancy/merchant/team.html +++ b/app/modules/tenancy/templates/tenancy/merchant/team.html @@ -52,7 +52,7 @@
+ x-text="`${store.member_count} {{ _("tenancy.team.members").lower() }}`">