From ad906adec9c4bc4b7c3b2a7c9e099ae973a54237 Mon Sep 17 00:00:00 2001 From: Scott Deeter Date: Mon, 29 Jul 2024 13:10:10 -0700 Subject: [PATCH] Prettier --- src/libs/OptionsListUtils.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/libs/OptionsListUtils.ts b/src/libs/OptionsListUtils.ts index da25b1b75ed6..3268db4be641 100644 --- a/src/libs/OptionsListUtils.ts +++ b/src/libs/OptionsListUtils.ts @@ -1716,14 +1716,7 @@ function getUserToInviteOption({ const isInOptionToExclude = optionsToExclude.findIndex((optionToExclude) => 'login' in optionToExclude && optionToExclude.login === PhoneNumber.addSMSDomainIfPhoneNumber(searchValue).toLowerCase()) !== -1; - if ( - !searchValue || - isCurrentUserLogin || - isInSelectedOption || - (!isValidEmail && !isValidPhoneNumber) || - isInOptionToExclude || - excludeUnknownUsers - ) { + if (!searchValue || isCurrentUserLogin || isInSelectedOption || (!isValidEmail && !isValidPhoneNumber) || isInOptionToExclude || excludeUnknownUsers) { return null; }