File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
assets/javascripts/discourse/components Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 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 )}}
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 }}
You can’t perform that action at this time.
0 commit comments