diff options
| author | Hunternif <hunternif@gmail.com> | 2021-08-31 01:01:52 +0100 |
|---|---|---|
| committer | Hunternif <hunternif@gmail.com> | 2021-08-31 02:27:14 +0100 |
| commit | deb7ab6ba6249e4ec85f95d0aa3451a20a3818ec (patch) | |
| tree | 3629b758b54e8b067d0030930b017204bffdf41d /client/js/controllers | |
| parent | 8005f88396071a74e42039549311bf3d642cc53f (diff) | |
client: add buttons to quickly search for liked and favorite posts
Diffstat (limited to 'client/js/controllers')
| -rw-r--r-- | client/js/controllers/post_list_controller.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/js/controllers/post_list_controller.js b/client/js/controllers/post_list_controller.js index af4bd8e..d07901b 100644 --- a/client/js/controllers/post_list_controller.js +++ b/client/js/controllers/post_list_controller.js @@ -42,6 +42,7 @@ class PostListController { this._headerView = new PostsHeaderView({ hostNode: this._pageController.view.pageHeaderHolderNode, parameters: ctx.parameters, + isLoggedIn: api.isLoggedIn(), enableSafety: api.safetyEnabled(), canBulkEditTags: api.hasPrivilege("posts:bulk-edit:tags"), canBulkEditSafety: api.hasPrivilege("posts:bulk-edit:safety"), |