From 5684111a1f410fb9b03f229b885871ea306e228f Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 7 Mar 2019 00:43:12 -0700 Subject: [PATCH] Fixes #974 --- resources/assets/js/components/PostComments.vue | 2 +- resources/assets/js/components/PostMenu.vue | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/assets/js/components/PostComments.vue b/resources/assets/js/components/PostComments.vue index 6a49a86fc..3d2f06ab0 100644 --- a/resources/assets/js/components/PostComments.vue +++ b/resources/assets/js/components/PostComments.vue @@ -24,7 +24,7 @@ - +

diff --git a/resources/assets/js/components/PostMenu.vue b/resources/assets/js/components/PostMenu.vue index 5072f6a08..3405f403a 100644 --- a/resources/assets/js/components/PostMenu.vue +++ b/resources/assets/js/components/PostMenu.vue @@ -62,7 +62,7 @@ Block Profile - Delete + Delete @@ -152,8 +152,9 @@ } }, - - deletePost(status, index) { + deletePost() { + this.$emit('deletePost'); + $('#mt_pid_'+this.status.id).modal('hide'); }, moderatePost(status, action, $event) {