Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipAB committed Apr 12, 2024
1 parent 27c7d96 commit 23628d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/quiz/quiz-body.component.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<ng-container>
<span class="clr-subtext" *ngIf="!isSubmitted && helperText != ''">{{ helperText }}</span>
<span class="clr-subtext" *ngIf="!isSubmitted && helperText !== ''">{{ helperText }}</span>
<clr-alert
[clrAlertType]="'danger'"
[clrAlertClosable]="false"
[clrAlertSizeSmall]="true"
*ngIf="validationEnabled && isSubmitted && !isValid && errMsg != ''"
*ngIf="validationEnabled && isSubmitted && !isValid && errMsg !== ''"
>
<clr-alert-item>
<span class="alert-text">{{ errMsg }}</span>
Expand All @@ -14,7 +14,7 @@
[clrAlertType]="'success'"
[clrAlertClosable]="false"
[clrAlertSizeSmall]="true"
*ngIf="validationEnabled && isSubmitted && isValid && successMsg != ''"
*ngIf="validationEnabled && isSubmitted && isValid && successMsg !== ''"
>
<clr-alert-item>
<span class="alert-text">{{ successMsg }}</span>
Expand Down

0 comments on commit 23628d1

Please sign in to comment.