[U] Add a comment about that ↓
This commit is contained in:
@@ -146,7 +146,7 @@
|
|||||||
this.ratingDialog = false;
|
this.ratingDialog = false;
|
||||||
this.$message.success('Rating successfully posted, thank you!');
|
this.$message.success('Rating successfully posted, thank you!');
|
||||||
|
|
||||||
// First rating
|
// First rating (Updating the first review doesn't count as first review)
|
||||||
if (this.course.rated) return;
|
if (this.course.rated) return;
|
||||||
if (App.instance.courses.map(c => c.rated).reduce((a, b) => a + (b?1:0), 0) == 1)
|
if (App.instance.courses.map(c => c.rated).reduce((a, b) => a + (b?1:0), 0) == 1)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user