Browse Source

Update PostComments, fix comment order

Daniel Supernault 6 years ago
parent
commit
327dd89177
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/assets/js/components/PostComments.vue

+ 1 - 1
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');