pim-types: add getter for bday property

master
Ramzan 4 years ago committed by Tom Hacohen
parent 1565772933
commit 88189c4e4e

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

Loading…
Cancel
Save