Skip to content

Commit

Permalink
Merge branch 'development' into mgclWrhrs
Browse files Browse the repository at this point in the history
  • Loading branch information
maheedhar1998 committed Mar 2, 2020
2 parents 94a5e6b + fc27032 commit b6bc123
Show file tree
Hide file tree
Showing 8 changed files with 114 additions and 66 deletions.
76 changes: 20 additions & 56 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@
"browser"
]
}
}
}
14 changes: 14 additions & 0 deletions src/app/backendClasses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ export class socialAccount {
this.setUrl = tempUrl;
this.setUser = tempUser;
}
public isEqual(sAcot: socialAccount): boolean {
if(this.id == sAcot.id && this.user == sAcot.user && this.url == sAcot.url){
return true;
}
return false;
}
public get getId(): string {
return this.id;
}
Expand Down Expand Up @@ -164,6 +170,14 @@ export class contact {
this.setPhoto = tempPhoto;
this.setAccessSocials = tempAccessSocial;
}
public isEqual(cont: contact): boolean {
if(this.id == cont.id && this.name == cont.name && this.username == this.username && this.email == cont.email
&& this.phoneNumber == cont.phoneNumber && this.DOB == cont.DOB && this.photo == cont.photo
&& this.accessSocials == cont.accessSocials){
return true;
}
return false;
}
public get getId(): string {
return this.id;
}
Expand Down
Loading

0 comments on commit b6bc123

Please sign in to comment.