diff --git a/framework/core/js/forum/src/components/IndexPage.js b/framework/core/js/forum/src/components/IndexPage.js index 4708f8a7d..35a8178ea 100644 --- a/framework/core/js/forum/src/components/IndexPage.js +++ b/framework/core/js/forum/src/components/IndexPage.js @@ -236,7 +236,11 @@ export default class IndexPage extends Page { title: app.translator.trans('core.forum.index.refresh_tooltip'), icon: 'refresh', className: 'Button Button--icon', - onclick: () => app.cache.discussionList.refresh() + onclick: () => { + app.cache.discussionList.refresh(); + app.store.find('users', app.session.user.id()); + m.redraw(); + } }) ); diff --git a/framework/core/js/forum/src/initializers/boot.js b/framework/core/js/forum/src/initializers/boot.js index 6aa06a262..827109a3e 100644 --- a/framework/core/js/forum/src/initializers/boot.js +++ b/framework/core/js/forum/src/initializers/boot.js @@ -61,6 +61,7 @@ export default function boot(app) { $('#home-link').click(e => { if (e.ctrlKey || e.metaKey || e.which === 2) return; e.preventDefault(); + app.store.find('users', app.session.user.id()); app.history.home(); });