|
@@ -21,8 +21,8 @@ export class PageAddComponent {
|
|
|
) {}
|
|
|
|
|
|
async saveAdd() {
|
|
|
- const Contact = Parse.Object.extend('Contact');
|
|
|
- const newContact = new Contact();
|
|
|
+ const HrmContact = Parse.Object.extend('HrmContact');
|
|
|
+ const newContact = new HrmContact();
|
|
|
|
|
|
newContact.set('name', this.userAdd.name);
|
|
|
newContact.set('tag', this.userAdd.tag);
|