[+] Create detailsComments field

This commit is contained in:
Hykilpikonna
2020-05-08 20:00:42 -04:00
parent b8a5172d70
commit 4b0bf16916
@@ -67,6 +67,7 @@
@Prop({required: true}) uniqueCourse: UniqueCourse;
detailsCourse: CourseInfo = null as any as CourseInfo
detailsComments: CourseInfoRating[] = null as any as []
get ratingCriteria() {return RATING_CRITERIA}
get rating() {return this.detailsCourse.rating}
@@ -119,6 +120,7 @@
closeDetails()
{
this.detailsCourse = null as any as CourseInfo;
this.detailsComments = null as any as []
}
}
</script>