notifications: replace toggle button with actual toggle element - fixes #4171
This commit is contained in:
parent
cab106e9bd
commit
4ccb5b300e
3 changed files with 51 additions and 9 deletions
|
|
@ -368,4 +368,4 @@ class MyAccountController(BaseController):
|
|||
user_data['notification_status'] = not status
|
||||
user.user_data = user_data
|
||||
Session().commit()
|
||||
return redirect(url('my_account_notifications'))
|
||||
return json.dumps(user_data['notification_status'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue