Skip to content

Commit

Permalink
fix logic error in get_flashed_messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Dec 23, 2024
1 parent 03756eb commit b40a131
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions templates/layout.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@
</nav>
<div class="container" id='main'>
<busy-indicator></busy-indicator>
{% for messages in get_flashed_messages(with_categories=True) %}
{% for category, message in messages %}
<div class="alert alert-{{ category }}" role="alert">{{ message }}</div>
{% endfor %}
{% for category, message in get_flashed_messages(with_categories=True) %}
<div class="alert alert-{{ category }}" role="alert">{{ message }}</div>
{% endfor %}
{% if start_time %}
<div class="alert alert-info" role="alert">
Expand Down

0 comments on commit b40a131

Please sign in to comment.