Skip to content

Commit 31e76bf

Browse files
committed
DEV: Don't use string-based actions
1 parent 2cfd050 commit 31e76bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)