pim-types: add getter for bday property

master
Ramzan 4 years ago committed by Tom Hacohen
parent 562dc48610
commit 9daf113ea3

@ -368,6 +368,10 @@ export class ContactType implements PimType {
return this.comp.getFirstPropertyValue("n");
}
get bday() {
return this.comp.getFirstPropertyValue("bday");
}
get group() {
const kind = this.comp.getFirstPropertyValue("kind");
return kind in ["group", "organization"];

Loading…
Cancel
Save