mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 05:23:17 +00:00
Merge pull request #879 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
c77a22b224
4 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
BIN
public/js/timeline.js
vendored
BIN
public/js/timeline.js
vendored
Binary file not shown.
Binary file not shown.
|
@ -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 => {
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue