Skip to content

Commit

Permalink
Remove user policy admin check from educational tooltip visibility logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ishpaul777 committed Jan 10, 2025
1 parent 027c4d6 commit c61c90f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function ReportFooter({
const isAdminsOnlyPostingRoom = ReportUtils.isAdminsOnlyPostingRoom(report);
const isUserPolicyAdmin = PolicyUtils.isPolicyAdmin(policy);

const shouldShowEducationalTooltip = ReportUtils.isPolicyExpenseChat(report) && !!report.isOwnPolicyExpenseChat && !isUserPolicyAdmin;
const shouldShowEducationalTooltip = ReportUtils.isPolicyExpenseChat(report) && !!report.isOwnPolicyExpenseChat;

const allPersonalDetails = usePersonalDetails();

Expand Down

0 comments on commit c61c90f

Please sign in to comment.