diff --git a/app/Http/Controllers/PublicApiController.php b/app/Http/Controllers/PublicApiController.php index 210c32add..f12066cdb 100644 --- a/app/Http/Controllers/PublicApiController.php +++ b/app/Http/Controllers/PublicApiController.php @@ -217,7 +217,7 @@ class PublicApiController extends Controller $page = $request->input('page'); $min = $request->input('min_id'); $max = $request->input('max_id'); - $limit = $request->input('limit') ?? 5; + $limit = $request->input('limit') ?? 10; // TODO: Use redis for timelines // $timeline = Timeline::build()->local(); @@ -314,7 +314,7 @@ class PublicApiController extends Controller $page = $request->input('page'); $min = $request->input('min_id'); $max = $request->input('max_id'); - $limit = $request->input('limit') ?? 5; + $limit = $request->input('limit') ?? 10; // TODO: Use redis for timelines // $timeline = Timeline::build()->local(); diff --git a/public/js/timeline.js b/public/js/timeline.js index 422b13968..2eb162f2e 100644 Binary files a/public/js/timeline.js and b/public/js/timeline.js differ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 7d0f3266f..6787c764f 100644 Binary files a/public/mix-manifest.json and b/public/mix-manifest.json differ diff --git a/resources/assets/js/components/Timeline.vue b/resources/assets/js/components/Timeline.vue index a013b56e5..25b73b087 100644 --- a/resources/assets/js/components/Timeline.vue +++ b/resources/assets/js/components/Timeline.vue @@ -341,7 +341,6 @@ mounted() { this.$nextTick(function () { $('[data-toggle="tooltip"]').tooltip() - this.fetchNotifications(); }); }, @@ -379,6 +378,7 @@ } $('.timeline .pagination').removeClass('d-none'); this.loading = false; + this.fetchNotifications(); }).catch(err => { }); },