-
Notifications
You must be signed in to change notification settings - Fork 1.8k
chore: remove sendAction() #6276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
19b74b7
5affd22
0503fcf
b1efead
736a8f4
e715aba
0e2aa5a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,7 +27,7 @@ export default Component.extend(FormMixin, { | |
| actions: { | ||
| submit() { | ||
| this.onValid(() => { | ||
| this.sendAction('save'); | ||
| this.save(); | ||
|
||
| }); | ||
| } | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ import Component from '@ember/component'; | |
| export default Component.extend({ | ||
| actions: { | ||
| submit() { | ||
| this.sendAction('save'); | ||
| this.save(); | ||
|
||
| } | ||
| } | ||
| }); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -169,7 +169,7 @@ export default Component.extend(FormMixin, { | |
| actions: { | ||
| submit() { | ||
| this.onValid(() => { | ||
| this.sendAction('save'); | ||
| this.save(); | ||
|
||
| }); | ||
| } | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -253,7 +253,7 @@ export default Component.extend(FormMixin, { | |
| 'omiseLiveSecret' : null | ||
| }); | ||
| } | ||
| this.sendAction('save'); | ||
| this.save(); | ||
|
||
| }); | ||
| } | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -222,7 +222,7 @@ export default Component.extend(FormMixin, { | |
| actions: { | ||
| submit() { | ||
| this.onValid(() => { | ||
| this.sendAction('save'); | ||
| this.save(); | ||
|
||
| }); | ||
| } | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -145,7 +145,7 @@ export default Component.extend(FormMixin, { | |
| }, | ||
| submit(data) { | ||
| this.onValid(() => { | ||
| this.sendAction('save', data); | ||
| this.save(data); | ||
|
||
| }); | ||
| }, | ||
| copiedText() { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -163,7 +163,7 @@ export default Component.extend(FormMixin, { | |
| }, | ||
| submit(data) { | ||
| this.onValid(() => { | ||
| this.sendAction('save', data); | ||
| this.save(data); | ||
|
||
| }); | ||
| }, | ||
| copiedText() { | ||
|
|
||







There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uncaught TypeError: _this.save is not a function