Skip to content

Commit

Permalink
use ===
Browse files Browse the repository at this point in the history
  • Loading branch information
Strohgelaender committed Jul 16, 2023
1 parent dd83ae6 commit e0c2229
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ <h3>{{ 'artemisApp.courseOverview.exerciseDetails.allResults' | artemisTranslate
></jhi-modeling-editor>
</dd>
<dd *ngIf="exampleSolutionInfo?.exampleSolution" class="editor-outline-background" [innerHTML]="exampleSolutionInfo?.exampleSolution"></dd>
<ng-container *ngIf="exercise?.type == PROGRAMMING">
<ng-container *ngIf="exercise?.type === PROGRAMMING">
<dd class="editor-outline-background">
<jhi-programming-exercise-example-solution-repo-download
class="ms-2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describe('Test exam participation', () => {
const exercise = exerciseArray[j];
// Skip programming exercise this time to save execution time
// (we also need to use the navigation bar here, since programming exercises do not have a "Save and continue" button)
if (exercise.type == EXERCISE_TYPE.Programming) {
if (exercise.type === EXERCISE_TYPE.Programming) {
continue;
} else {
examNavigation.openExerciseOverview();
Expand Down

0 comments on commit e0c2229

Please sign in to comment.