From 327dd891779cff983b05a16a290f507e505b7c1f Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 29 Dec 2018 22:36:16 -0700 Subject: [PATCH] Update PostComments, fix comment order --- resources/assets/js/components/PostComments.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/js/components/PostComments.vue b/resources/assets/js/components/PostComments.vue index 6122f0b21..fc9990c1d 100644 --- a/resources/assets/js/components/PostComments.vue +++ b/resources/assets/js/components/PostComments.vue @@ -92,7 +92,7 @@ export default { axios.get(url) .then(response => { let self = this; - this.results = response.data.data; + this.results = _.reverse(response.data.data); this.pagination = response.data.meta.pagination; if(this.results.length > 0) { $('.load-more-link').removeClass('d-none');