@if (isExamMode || (course?.maxComplaints && course!.maxComplaints! > 0)) {
@@ -23,7 +24,7 @@
id="complain"
class="btn btn-primary"
[class.not-allowed]="(!isExamMode && remainingNumberOfComplaints === 0) || !timeOfComplaintValid"
- (click)="startComplaint()"
+ (click)="startComplaint(ComplaintType.COMPLAINT)"
[disabled]="(!isExamMode && remainingNumberOfComplaints === 0) || !timeOfComplaintValid"
title="{{
(!isExamMode && remainingNumberOfComplaints === 0) || !timeOfComplaintValid
@@ -37,7 +38,7 @@