Skip to content

Commit

Permalink
Add conditional rendering for user incidents in lmao.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Pancham1603 committed Dec 8, 2023
1 parent ac92f8b commit abab270
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/nightpass/templates/lmao.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ <h2 id="modal-resource-name"></h2>
</div>
</div>

{% if user_incidents|length > 0 %}
<div class="container" style="width: 100%;">
<div class="profile-card" style="width: 80%;">
<div class="table-section">
Expand All @@ -145,6 +146,7 @@ <h2>Incident History</h2>
</div>
</div>
</div>
{% endif %}

<script>
function verifyNotification(notif_text) {
Expand Down

0 comments on commit abab270

Please sign in to comment.