From 7a1fa122714c413906156976745ba55d4a2d125e Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 13 Nov 2023 08:24:12 +0200 Subject: [PATCH] fix locales sort order --- templates/default/user/settings.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/default/user/settings.html.twig b/templates/default/user/settings.html.twig index b7312e6..49fcbed 100644 --- a/templates/default/user/settings.html.twig +++ b/templates/default/user/settings.html.twig @@ -87,9 +87,9 @@ - {% for locale in locales %} + {% for locale in locales | sort %}
- {% if locale in user.locales | sort %} + {% if locale in user.locales %} {% else %}