From 3ff013a371a9fbf6b3c421f96d2ce2304e986668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Eikeland?= Date: Wed, 20 Nov 2024 09:31:55 +0100 Subject: [PATCH] fix(person): eslint formatting --- packages/person/src/components/select/controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/person/src/components/select/controller.ts b/packages/person/src/components/select/controller.ts index 6f459aa2..2fe9cbdf 100644 --- a/packages/person/src/components/select/controller.ts +++ b/packages/person/src/components/select/controller.ts @@ -55,7 +55,7 @@ export class PersonSelectController implements ReactiveController { * Runs on host updated when property is changed */ public attrSelectedPerson(select: string | null | undefined) { - if (select === null || select === '' && this.selectedIds.size) { + if (select === null || (select === '' && this.selectedIds.size)) { this.clear(); return; }