Skip to content

Commit e2c71f7

Browse files
kushthedudeabhinavk96
authored andcommitted
Fix multiple success message (#3426)
1 parent 913a3a4 commit e2c71f7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import Component from '@ember/component';
22
import FormMixin from 'open-event-frontend/mixins/form';
33
import { validPhoneNumber } from 'open-event-frontend/utils/validators';
4-
import { action } from '@ember/object';
54

6-
export default class extends Component.extend(FormMixin) {
5+
export default Component.extend(FormMixin, {
76
getValidationRules() {
87
return {
98
inline : true,
@@ -100,12 +99,13 @@ export default class extends Component.extend(FormMixin) {
10099
}
101100
}
102101
};
103-
}
102+
},
104103

105-
@action
106-
submit() {
107-
this.onValid(() => {
108-
this.save();
109-
});
104+
actions: {
105+
submit() {
106+
this.onValid(() => {
107+
this.save();
108+
});
109+
}
110110
}
111-
}
111+
});

0 commit comments

Comments
 (0)