Skip to content

Commit 8828861

Browse files
authored
DEV: Don't use string-based actions (#33)
1 parent 676528c commit 8828861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascripts/discourse/components/poll-banner.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export default class PollBanner extends Component {
119119
{{htmlSafe this.cooked}}
120120
<DButton
121121
class="btn-flat"
122-
@action={{action "closePoll"}}
122+
@action={{this.closePoll}}
123123
@icon="times"
124124
@label="share.close"
125125
/>

0 commit comments

Comments
 (0)