Skip to content

Commit

Permalink
Hide last attempt message after session end
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-bstein committed Feb 17, 2025
1 parent ed279f4 commit 9014e5a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@

<div class="d-flex align-items-center my-2" *ngIf="state.challenge.questions?.length">
<div class="flex-grow-1">
<span *ngIf="state.challenge.maxAttempts && state.challenge.attempts + 1 === state.challenge.maxAttempts"
<span
*ngIf="state.challenge.maxAttempts && state.challenge.attempts + 1 === state.challenge.maxAttempts && !session.isAfter"
class="fw-bold text-warning">
This is last your attempt.
<span class="font-weight-bold cursor-pointer text-dashed-underline"
Expand Down

0 comments on commit 9014e5a

Please sign in to comment.