[O] Don't display rate button on course detail page

This commit is contained in:
Hykilpikonna
2020-04-26 15:55:58 -04:00
parent 616f0a7420
commit f003f0d48c
@@ -57,9 +57,12 @@
App.instance.nav.updateIndex(this.course.urlIndex);
}
/**
* Display rate button or not
*/
get displayRate()
{
return !this.course.rated && Constants.CURRENT_TERM == 3;
return this.clickable && !this.course.rated && Constants.CURRENT_TERM == 3;
}
}
</script>