diff --git a/src/app/components/shared/comment/comment.component.ts b/src/app/components/shared/comment/comment.component.ts
index 00f4460757bcf14f0b72e990e377851ca9cb7904..45ef3e5c5dfd12af1fa10e40e5b7ddd2b85f7d5c 100644
--- a/src/app/components/shared/comment/comment.component.ts
+++ b/src/app/components/shared/comment/comment.component.ts
@@ -76,7 +76,7 @@ export class CommentComponent implements OnInit {
 
   @Input()
   set parseVote(vote: Vote) {
-    if (this.isStudent) {
+    if (vote) {
       this.hasVoted = vote.vote;
     }
   }