pim-types: Fixed group detection.

master
Tom Hacohen 4 years ago
parent 334b2c68ee
commit d530204584

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

Loading…
Cancel
Save