diff --git a/assets/vue/components/social/WallPost.vue b/assets/vue/components/social/WallPost.vue index 445b79648b..bfd9dd64fe 100644 --- a/assets/vue/components/social/WallPost.vue +++ b/assets/vue/components/social/WallPost.vue @@ -64,11 +64,14 @@ v-for="(comment, index) in comments" :key="index" :comment="comment" - @comment-deleted="onCommentDeleted(index, $event)" + @comment-deleted="onCommentDeleted(index)" /> - + @@ -108,7 +111,7 @@ export default { ; } - function onCommentDeleted(index, event) { + function onCommentDeleted(index) { comments.splice(index, 1); }