[F] Fix problem where the ratings are not loading when a course details page is opened after another
This commit is contained in:
@@ -71,7 +71,17 @@
|
|||||||
get ratingCriteria() {return RATING_CRITERIA}
|
get ratingCriteria() {return RATING_CRITERIA}
|
||||||
get rating() {return this.detailsCourse.rating}
|
get rating() {return this.detailsCourse.rating}
|
||||||
|
|
||||||
created()
|
mounted()
|
||||||
|
{
|
||||||
|
this.checkRatings()
|
||||||
|
}
|
||||||
|
|
||||||
|
updated()
|
||||||
|
{
|
||||||
|
this.checkRatings()
|
||||||
|
}
|
||||||
|
|
||||||
|
checkRatings()
|
||||||
{
|
{
|
||||||
// Load ratings
|
// Load ratings
|
||||||
this.sortedCourses.forEach(c =>
|
this.sortedCourses.forEach(c =>
|
||||||
|
|||||||
Reference in New Issue
Block a user