Missed cdref.

This commit is contained in:
Joseph Milazzo 2025-06-22 10:19:54 -05:00
parent ff8cba71f5
commit 6ffb9f7230

View file

@ -61,6 +61,7 @@ export class ExternalRatingComponent implements OnInit {
ngOnInit() {
this.reviewService.overallRating(this.seriesId, this.chapterId).subscribe(r => {
this.overallRating = r.averageScore;
this.cdRef.markForCheck();
});
}
@ -92,6 +93,4 @@ export class ExternalRatingComponent implements OnInit {
return '';
}
protected readonly RatingAuthority = RatingAuthority;
}