diff --git a/app/assets/javascripts/discourse/app/components/more-topics.gjs b/app/assets/javascripts/discourse/app/components/more-topics.gjs index e14c77be195..c34577fd11c 100644 --- a/app/assets/javascripts/discourse/app/components/more-topics.gjs +++ b/app/assets/javascripts/discourse/app/components/more-topics.gjs @@ -64,6 +64,11 @@ export default class MoreTopics extends Component { }); } + @action + isActiveTab(tab) { + return tab?.id === this.selectedTab?.id; + } +