Skip to content

Commit e715aba

Browse files
fix
1 parent 736a8f4 commit e715aba

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

app/components/forms/admin/content/pages-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default Component.extend(FormMixin, {
7979
actions: {
8080
submit(data) {
8181
this.onValid(() => {
82-
this.save(data);
82+
this.sendAction('save', data);
8383
});
8484
},
8585
deletePage(data) {

app/components/forms/admin/content/social-links-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default Component.extend(FormMixin, {
2727
actions: {
2828
submit() {
2929
this.onValid(() => {
30-
this.save();
30+
this.sendAction('save');
3131
});
3232
}
3333
}

app/components/forms/admin/settings/analytics-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Component from '@ember/component';
33
export default Component.extend({
44
actions: {
55
submit() {
6-
this.save();
6+
this.sendAction('save');
77
}
88
}
99
});

app/components/forms/admin/settings/billing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default class Billing extends Component.extend(FormMixin) {
103103
submit(e) {
104104
e.preventDefault();
105105
this.onValid(() => {
106-
this.save();
106+
this.sendAction('save');
107107
});
108108
}
109109
}

app/components/forms/admin/settings/images-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export default Component.extend(FormMixin, {
169169
actions: {
170170
submit() {
171171
this.onValid(() => {
172-
this.save();
172+
this.sendAction('save');
173173
});
174174
}
175175
}

app/components/forms/admin/settings/microservices-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default Component.extend(FormMixin, {
3838
actions: {
3939
submit() {
4040
this.onValid(() => {
41-
this.save();
41+
this.sendAction('save');
4242
});
4343
}
4444
}

app/components/forms/admin/settings/payment-gateway-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export default Component.extend(FormMixin, {
253253
'omiseLiveSecret' : null
254254
});
255255
}
256-
this.save();
256+
this.sendAction('save');
257257
});
258258
}
259259
}

app/components/forms/admin/settings/system-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export default Component.extend(FormMixin, {
222222
actions: {
223223
submit() {
224224
this.onValid(() => {
225-
this.save();
225+
this.sendAction('save');
226226
});
227227
}
228228
}

app/components/forms/events/view/create-access-code.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export default Component.extend(FormMixin, {
145145
},
146146
submit(data) {
147147
this.onValid(() => {
148-
this.save(data);
148+
this.sendAction('save', data);
149149
});
150150
},
151151
copiedText() {

app/components/forms/events/view/create-discount-code.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export default Component.extend(FormMixin, {
163163
},
164164
submit(data) {
165165
this.onValid(() => {
166-
this.save(data);
166+
this.sendAction('save', data);
167167
});
168168
},
169169
copiedText() {

0 commit comments

Comments
 (0)