Skip to content

Commit

Permalink
Update src/libs/OptionsListUtils.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Situ Chandra Shil <[email protected]>
  • Loading branch information
cretadn22 and situchan authored Sep 17, 2024
1 parent 85593ad commit efbad6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/OptionsListUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit efbad6f

Please sign in to comment.