Skip to content

Commit

Permalink
remove lastmessage from the signature
Browse files Browse the repository at this point in the history
  • Loading branch information
FitseTLT committed May 6, 2024
1 parent 8213ec3 commit 0037a6a
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 @@ -526,7 +526,7 @@ function getLastActorDisplayName(lastActorDetails: Partial<PersonalDetails> | nu
/**
* Update alternate text for the option when applicable
*/
function getAlternateText(option: ReportUtils.OptionData, {showChatPreviewLine = false, forcePolicyNamePreview = false}: PreviewConfig & {lastMessageTextFromReport?: string}) {
function getAlternateText(option: ReportUtils.OptionData, {showChatPreviewLine = false, forcePolicyNamePreview = false}: PreviewConfig) {
if (!!option.isThread || !!option.isMoneyRequestReport) {
return option.lastMessageText ? option.lastMessageText : Localize.translate(preferredLocale, 'report.noActivityYet');
}
Expand Down

0 comments on commit 0037a6a

Please sign in to comment.