fix: use default (non-member) membership when membership doesn't exist

This commit is contained in:
trisua 2025-04-09 21:39:30 -04:00
parent 0615f44bfa
commit 8c43f62545
3 changed files with 9 additions and 4 deletions

View file

@ -470,7 +470,7 @@ user.settings.theme_hue %}
{% if user.settings.theme_preference %}
<script>
function match_user_theme() {
const pref = "{{ profile.settings.theme_preference }}".toLowercase();
const pref = "{{ profile.settings.theme_preference }}".toLowerCase();
if (pref === "auto") {
return;