Connect onSubmit
This commit is contained in:
parent
7b2b8c1151
commit
3c802b0332
|
@ -41,4 +41,4 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
|
||||
<Assignment />
|
||||
<Assignment @onSubmit={{this.assign}} />
|
|
@ -7,7 +7,7 @@ export default class AssignUserForm extends Component {
|
|||
@action
|
||||
handleTextAreaKeydown(event) {
|
||||
if ((event.ctrlKey || event.metaKey) && event.key === "Enter") {
|
||||
this.submit(); // fixme andrei
|
||||
this.args.onSubmit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue