diff --git a/js/src/forum/components/SolvedFilter.tsx b/js/src/forum/components/SolvedFilter.tsx index 370b828..c46f534 100644 --- a/js/src/forum/components/SolvedFilter.tsx +++ b/js/src/forum/components/SolvedFilter.tsx @@ -36,7 +36,7 @@ export default class SolvedFilter extends Component { if (value === '0') { delete app.discussions.bestAnswer; } - app.discussions.refresh(); + this.reloadDiscussions(); }, }, app.translator.trans(`fof-best-answer.forum.filter.${label}_label`) @@ -45,6 +45,10 @@ export default class SolvedFilter extends Component { ); } + reloadDiscussions(): void { + app.discussions.refresh(); + } + shouldShowFilter() { const { alwaysShow } = this.attrs;