Skip to content

Commit aa778b8

Browse files
committed
DEV: Don't use string-based actions
1 parent 7b6447d commit aa778b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascripts/discourse/components/featured-homepage-topics.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export default class FeaturedHomepageTopics extends Component {
151151
"featured-topic-toggle"
152152
(if this.toggleTopics "is-open")
153153
}}
154-
@action={{action "toggle"}}
154+
@action={{this.toggle}}
155155
@translatedLabel={{this.featuredTitle}}
156156
>
157157
{{#if this.toggleTopics}}

0 commit comments

Comments
 (0)