Skip to content
Snippets Groups Projects
Commit 9e329572 authored by ywb16155's avatar ywb16155
Browse files

commit #61 - last min bug fix 1

parent 045df641
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ export class LecturerCreateOmpViewComponent implements OnInit, AfterContentInit,
this.isSubmitted = false;
this.noQuestions = false;
this.invalidQuestions = false;
this.couldNotSubmit = true;
this.couldNotSubmit = false;
}
ngAfterContentInit(): void {
......@@ -115,6 +115,7 @@ export class LecturerCreateOmpViewComponent implements OnInit, AfterContentInit,
this.nameInvalid = false;
this.topicInvalid = false;
this.invalidQuestions = false;
this.couldNotSubmit = false;
}
private resetForm() {
......
......@@ -39,6 +39,7 @@ export class LecturerEditTemplateViewComponent implements OnInit, OnDestroy {
this.isSubmitted = false;
this.noQuestions = false;
this.invalidQuestions = false;
this.couldNotSubmit = false;
this.lecturerId = sessionStorage.getItem('username');
this.questions = [];
this.currentTemplate = this.lecturerDataService.currentTemplate;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment