Minor: fix code style

pull/4161/head
Angel Fernando Quiroz Campos 3 years ago
parent 2df26177bc
commit eefc59b1c5
  1. 9
      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)"
/>
</q-list>
<WallCommentForm :post="post" @comment-posted="onCommentPosted" />
<WallCommentForm
:post="post"
@comment-posted="onCommentPosted"
/>
</q-card>
</template>
@ -108,7 +111,7 @@ export default {
;
}
function onCommentDeleted(index, event) {
function onCommentDeleted(index) {
comments.splice(index, 1);
}

Loading…
Cancel
Save