Skip to content

Commit

Permalink
fix(person): eslint formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
eikeland committed Nov 20, 2024
1 parent 25727c9 commit 3ff013a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/person/src/components/select/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3ff013a

Please sign in to comment.