From efbad6f8311532c7ec6a2881052473416435162a Mon Sep 17 00:00:00 2001 From: cretadn22 <168617111+cretadn22@users.noreply.github.com> Date: Tue, 17 Sep 2024 08:32:30 +0700 Subject: [PATCH] Update src/libs/OptionsListUtils.ts Co-authored-by: Situ Chandra Shil <108292595+situchan@users.noreply.github.com> --- src/libs/OptionsListUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/OptionsListUtils.ts b/src/libs/OptionsListUtils.ts index b728de23a5b1..ed4d7ba0a177 100644 --- a/src/libs/OptionsListUtils.ts +++ b/src/libs/OptionsListUtils.ts @@ -2303,7 +2303,7 @@ function getHeaderMessageForNonUserList(hasSelectableOptions: boolean, searchVal * Helper method to check whether an option can show tooltip or not */ function shouldOptionShowTooltip(option: ReportUtils.OptionData): boolean { - return (!option.isChatRoom || !!option.isThread) && !option?.private_isArchived; + return (!option.isChatRoom || !!option.isThread) && !option.private_isArchived; } /**