Skip to content
Snippets Groups Projects
Commit ee3c4e66 authored by Heinrich Marks's avatar Heinrich Marks :hibiscus:
Browse files

Resolve discussion

parent da1e799c
No related merge requests found
...@@ -10,7 +10,7 @@ import { AnswerText } from '../answer-text'; ...@@ -10,7 +10,7 @@ import { AnswerText } from '../answer-text';
export class ContentAnswersListComponent implements OnInit { export class ContentAnswersListComponent implements OnInit {
textAnswers: AnswerText[]; textAnswers: AnswerText[];
constructor(private contentAnswerService: ContentAnswerService ) { } constructor(private contentAnswerService: ContentAnswerService) { }
ngOnInit() { ngOnInit() {
this.getAnswerTexts(); this.getAnswerTexts();
...@@ -18,8 +18,8 @@ export class ContentAnswersListComponent implements OnInit { ...@@ -18,8 +18,8 @@ export class ContentAnswersListComponent implements OnInit {
getAnswerTexts(): void { getAnswerTexts(): void {
this.contentAnswerService.getAnswerTexts(). this.contentAnswerService.getAnswerTexts().
subscribe(textAnswers => { subscribe(textAnswers => {
this.textAnswers = textAnswers; this.textAnswers = textAnswers;
}) });
} }
} }
...@@ -31,4 +31,4 @@ ...@@ -31,4 +31,4 @@
</mat-card-actions> </mat-card-actions>
</mat-card> </mat-card>
</div> </div>
</div> </div>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment