Skip to content

Commit f794ce3

Browse files
committed
no action
1 parent 526260c commit f794ce3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

assets/javascripts/discourse/components/teambuild-target.hbs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<RadioButton
99
@value={{type.id}}
1010
@selection={{this.buffered.target_type_id}}
11-
@onChange={{action (mut this.buffered.target_type_id) type.id}}
11+
@onChange={{fn (mut this.buffered.target_type_id) type.id}}
1212
class={{type.name}}
1313
/>
1414
{{i18n (concat "discourse_teambuild.targets.types." type.name)}}
@@ -54,29 +54,29 @@
5454
<DButton
5555
@icon="check"
5656
@title="discourse_teambuild.targets.save"
57-
@action={{action "save"}}
57+
@action={{this.save}}
5858
@disabled={{this.saveDisabled}}
5959
class="btn-primary save"
6060
/>
6161

6262
<DButton
6363
@icon="xmark"
64-
@action={{action "cancel"}}
64+
@action={{this.cancel}}
6565
@title="discourse_teambuild.targets.cancel"
6666
class="btn-danger cancel"
6767
/>
6868
{{else}}
6969
<DButton
7070
@icon="pencil"
7171
@title="discourse_teambuild.targets.edit"
72-
@action={{action (mut this.editSelected) true}}
72+
@action={{fn (mut this.editSelected) true}}
7373
class="edit"
7474
/>
7575

7676
<DButton
7777
@icon="trash-can"
7878
@title="discourse_teambuild.targets.delete"
79-
@action={{action "destroy"}}
79+
@action={{this.destroy}}
8080
class="btn-danger destroy"
8181
/>
8282
{{/if}}

0 commit comments

Comments
 (0)