fix: use default (non-member) membership when membership doesn't exist
This commit is contained in:
parent
0615f44bfa
commit
8c43f62545
3 changed files with 9 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue