diff --git a/js/forum/src/components/IndexPage.js b/js/forum/src/components/IndexPage.js index 4708f8a7d..6c3bbb9e4 100644 --- a/js/forum/src/components/IndexPage.js +++ b/js/forum/src/components/IndexPage.js @@ -236,7 +236,13 @@ 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(); + if (app.session.user) { + app.store.find('users', app.session.user.id()); + m.redraw(); + } + } }) ); diff --git a/js/forum/src/initializers/boot.js b/js/forum/src/initializers/boot.js index 6aa06a262..c5b3e9bfc 100644 --- a/js/forum/src/initializers/boot.js +++ b/js/forum/src/initializers/boot.js @@ -62,6 +62,10 @@ export default function boot(app) { if (e.ctrlKey || e.metaKey || e.which === 2) return; e.preventDefault(); app.history.home(); + if (app.session.user) { + app.store.find('users', app.session.user.id()); + m.redraw(); + } }); // Add a class to the body which indicates that the page has been scrolled