1
0
Эх сурвалжийг харах

Update PostComments, fix comment order

Daniel Supernault 6 жил өмнө
parent
commit
327dd89177

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