diff --git a/src/pim-types.ts b/src/pim-types.ts index 4102988..9f30b85 100644 --- a/src/pim-types.ts +++ b/src/pim-types.ts @@ -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); } }