This commit is contained in:
Aevann1 2021-09-03 22:52:40 +02:00
parent c7c9bf9586
commit 8dd72722ca
5 changed files with 35 additions and 10 deletions

View file

@ -58,6 +58,10 @@ def settings_profile_post(v):
updated = True
v.hidevotedon = request.values.get("hidevotedon", None) == 'true'
if request.values.get("cardview", v.cardview) != v.cardview:
updated = True
v.cardview = request.values.get("cardview", None) == 'true'
if request.values.get("newtab", v.newtab) != v.newtab:
updated = True
v.newtab = request.values.get("newtab", None) == 'true'