fix: theme component panic

This commit is contained in:
trisua 2025-04-09 22:03:42 -04:00
parent 1ee1f29cdf
commit 15e24b9a61

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 = "{{ user.settings.theme_preference }}".toLowerCase();
if (pref === "auto") {
return;