fix: theme component panic
This commit is contained in:
parent
1ee1f29cdf
commit
15e24b9a61
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ user.settings.theme_hue %}
|
||||||
{% if user.settings.theme_preference %}
|
{% if user.settings.theme_preference %}
|
||||||
<script>
|
<script>
|
||||||
function match_user_theme() {
|
function match_user_theme() {
|
||||||
const pref = "{{ profile.settings.theme_preference }}".toLowerCase();
|
const pref = "{{ user.settings.theme_preference }}".toLowerCase();
|
||||||
|
|
||||||
if (pref === "auto") {
|
if (pref === "auto") {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue