Skip to content

Commit

Permalink
Clear UI state when (re)loading events page
Browse files Browse the repository at this point in the history
  • Loading branch information
podliashanyk committed May 30, 2024
1 parent 01a1d81 commit 705b502
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/howitz/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ def get_event_details(id):
@main.route('/events')
@login_check()
def index():
clear_ui_state()
return render_template('/views/events.html')


Expand Down

0 comments on commit 705b502

Please sign in to comment.