From d530204584f5b46f9a98f6c2c1ad2eb75046f746 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 15 Oct 2020 18:18:02 +0300 Subject: [PATCH] pim-types: Fixed group detection. --- src/pim-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }