[U] Add a comment about that ↓

This commit is contained in:
Hykilpikonna
2020-04-27 03:40:49 -04:00
parent e6d5e35ff0
commit c75dc76526
@@ -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)
{ {