Skip to content

Commit 22989b0

Browse files
authored
DEV: Don't use string-based actions (#214)
1 parent 2cfd050 commit 22989b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/javascripts/discourse/components/docs-search.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default class DocsSearch extends Component {
3636

3737
{{#if this.searchTerm}}
3838
<DButton
39-
@action={{action "clearSearch"}}
39+
@action={{this.clearSearch}}
4040
class="clear-search"
4141
@label="docs.search.clear"
4242
/>

0 commit comments

Comments
 (0)