diff --git a/public/js/status.js b/public/js/status.js index b863c6247..5536e844a 100644 Binary files a/public/js/status.js and b/public/js/status.js differ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index a6851bc80..d0695cd03 100644 Binary files a/public/mix-manifest.json and b/public/mix-manifest.json differ diff --git a/resources/assets/js/components/PostComponent.vue b/resources/assets/js/components/PostComponent.vue index 92d74ef93..b038674cb 100644 --- a/resources/assets/js/components/PostComponent.vue +++ b/resources/assets/js/components/PostComponent.vue @@ -728,10 +728,10 @@ export default { type: 'status', item: this.status.id }).then(res => { + swal('Success', 'You have successfully deleted this post', 'success'); setTimeout(function() { - swal('Success', 'You have successfully deleted this post', 'success'); window.location.href = '/'; - }, 2000); + }, 3000); }).catch(err => { swal('Error', 'Something went wrong. Please try again later.', 'error'); });