diff --git a/js/controller/ActivityController.js b/js/controller/ActivityController.js index f42548e0e..04390c152 100644 --- a/js/controller/ActivityController.js +++ b/js/controller/ActivityController.js @@ -245,12 +245,10 @@ class ActivityController { deleteComment(item) { item.commentModel.destroy(); item.deleted = true; + item.commentModel = undefined; + item.message = t('deck', 'The comment has been deleted'); } - getCommentDetails() {} - - - getData(id) { return this.activityservice.getData(this.type, id); }