Skip to content

Commit

Permalink
Plagiarism checks: Fix files not being shown in plagiarism viewer (#9347
Browse files Browse the repository at this point in the history
)
  • Loading branch information
magaupp committed Sep 22, 2024
1 parent 0354197 commit e3f5cdd
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@
</div>
}
@if (!loading && !binaryFile!! && !cannotLoadFiles) {
<div
class="text-submission-viewer"
[innerHTML]="fileContent || ' '"
[ngClass]="{ 'no-file': !fileContent, 'is-code': isProgrammingExercise }"
jhiTranslate="artemisApp.plagiarism.noFileSelected"
></div>
<div class="text-submission-viewer" [innerHTML]="fileContent || ' '" [ngClass]="{ 'no-file': !fileContent, 'is-code': isProgrammingExercise }">
<span jhiTranslate="artemisApp.plagiarism.noFileSelected"></span>
</div>
}
@if (loading && !cannotLoadFiles) {
<div class="plagiarism-submission-loader">
Expand Down

0 comments on commit e3f5cdd

Please sign in to comment.