浏览代码

Update PostComments, fix comment order

Daniel Supernault 6 年之前
父节点
当前提交
327dd89177
共有 1 个文件被更改,包括 1 次插入1 次删除
  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');