diff options
| author | Hunternif <hunternif@gmail.com> | 2022-07-24 03:56:39 +0100 |
|---|---|---|
| committer | Hunternif <hunternif@gmail.com> | 2022-07-24 03:59:16 +0100 |
| commit | ad191c8612ff956fa83a462fd0f006bccabf5491 (patch) | |
| tree | 08294a48e1ce771483267f067ff4c005226e28f9 /client | |
| parent | 08e9286d050b53fbb686b9b68aad5015647a4857 (diff) | |
client: fix bug in posts controller using ctx with state from prev page
Diffstat (limited to 'client')
| -rw-r--r-- | client/js/controllers/post_list_controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/js/controllers/post_list_controller.js b/client/js/controllers/post_list_controller.js index d9a29b0..bb5ab25 100644 --- a/client/js/controllers/post_list_controller.js +++ b/client/js/controllers/post_list_controller.js @@ -76,7 +76,7 @@ class PostListController { } _evtNavigate(e) { - router.showNoDispatch( + this._ctx = router.showNoDispatch( uri.formatClientLink("posts", e.detail.parameters) ); Object.assign(this._ctx.parameters, e.detail.parameters); |