Skip to content

Commit

Permalink
Improve locale-switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
falkodev committed Nov 21, 2024
1 parent 641379b commit 8a52d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/modules/locale-switcher/views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</button>
<ul class="pdl-locale-switcher__list" data-locale-list>
{% for localization in data.localizations %}
{% if localization._url and not localization.current %}
{% if not localization.current %}
<li class="pdl-locale-switcher__item">
<a href="{{ localization._url or localization.homePageUrl }}">
{{ localization.locale }}
Expand Down

0 comments on commit 8a52d0b

Please sign in to comment.