diff --git a/src/app/components/shared/comment-list/comment-list.component.ts b/src/app/components/shared/comment-list/comment-list.component.ts
index b906f36534b3474d886a542d16c98978613465da..a5dd22ad4e704624b925e02bdfa4ae587cd7b09d 100644
--- a/src/app/components/shared/comment-list/comment-list.component.ts
+++ b/src/app/components/shared/comment-list/comment-list.component.ts
@@ -63,11 +63,11 @@ export class CommentListComponent implements OnInit {
           if (payload.id === this.comments[i].id) {
             for (const [key, value] of Object.entries(payload.changes)) {
               switch (key) {
-                case 'read':       this.comments[i].read = value;
+                case 'read':       this.comments[i].read = <boolean>value;
                                    break;
-                case 'correct' :   this.comments[i].correct = value;
+                case 'correct' :   this.comments[i].correct = <boolean>value;
                                    break;
-                case 'favorite' :  this.comments[i].favorite = value;
+                case 'favorite' :  this.comments[i].favorite = <boolean>value;
                                    break;
               }
             }
@@ -75,6 +75,5 @@ export class CommentListComponent implements OnInit {
       }
     }
   }
-
 }