Skip to content

Commit

Permalink
Removing hasReceivedFreeTrialEndMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragsalian committed Jul 19, 2024
1 parent 6fdd71f commit d01df63
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,6 @@ type OptionData = {
amountInputProps?: MoneyRequestAmountInputProps;
tabIndex?: 0 | -1;
isConciergeChat?: boolean;
hasReceivedFreeTrialEndMessage?: boolean;
} & Report;

type OnyxDataTaskAssigneeChat = {
Expand Down Expand Up @@ -2382,10 +2381,6 @@ function requiresAttentionFromCurrentUser(optionOrReport: OnyxEntry<Report> | Op
return true;
}

if (optionOrReport?.hasReceivedFreeTrialEndMessage && !SubscriptionUtils.doesUserHavePaymentCardAdded()) {
return true;
}

return false;
}

Expand Down
1 change: 0 additions & 1 deletion src/libs/SidebarUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ function getOptionData({
result.hasOutstandingChildTask = report.hasOutstandingChildTask;
result.hasParentAccess = report.hasParentAccess;
result.isConciergeChat = ReportUtils.isConciergeChatReport(report);
result.hasReceivedFreeTrialEndMessage = report.hasReceivedFreeTrialEndMessage;

const hasMultipleParticipants = participantPersonalDetailList.length > 1 || result.isChatRoom || result.isPolicyExpenseChat || ReportUtils.isExpenseReport(report);
const subtitle = ReportUtils.getChatRoomSubtitle(report);
Expand Down

0 comments on commit d01df63

Please sign in to comment.