DEV: Use fn+mut instead of action+mut (#26057)

One step closer to removing all `action` helper usage
This commit is contained in:
Jarek Radosz
2024-03-06 18:05:03 +01:00
committed by GitHub
parent ac083ffca6
commit 11067c73d0
61 changed files with 111 additions and 117 deletions

View File

@ -61,7 +61,7 @@
<TimezoneInput
@options={{hash icon="globe"}}
@value={{this.timezone}}
@onChange={{action (mut this.timezone)}}
@onChange={{fn (mut this.timezone)}}
/>
{{/unless}}
</div>
@ -83,7 +83,7 @@
<TimezoneInput
@value={{this.timezone}}
@options={{hash icon="globe"}}
@onChange={{action (mut this.timezone)}}
@onChange={{fn (mut this.timezone)}}
/>
{{/if}}
</div>
@ -104,7 +104,7 @@
<ComboBox
@content={{this.recurringOptions}}
@value={{this.recurring}}
@onChange={{action (mut this.recurring)}}
@onChange={{fn (mut this.recurring)}}
@options={{hash
none="discourse_local_dates.create.form.recurring_none"
}}