Skip to content

Commit

Permalink
Merge pull request #43244 from bernhardoj/fix/43125-missing-ws-avatar-bg
Browse files Browse the repository at this point in the history
Fix workspace avatar for invoice chat is missing background
  • Loading branch information
youssef-lr authored Jun 7, 2024
2 parents 55015bd + 30dd64c commit 6c2c90e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ReportAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function ReportAvatar({report = {} as Report, policies, isLoadingApp = true}: Re
isWorkspaceAvatar
maybeIcon
// In the case of default workspace avatar, originalFileName prop takes policyID as value to get the color of the avatar
originalFileName={policy?.originalFileName ?? policy?.id}
originalFileName={policy?.originalFileName ?? policy?.id ?? report?.policyID}
shouldShowNotFoundPage={!report?.reportID && !isLoadingApp}
isLoading={(!report?.reportID || !policy?.id) && !!isLoadingApp}
/>
Expand Down

0 comments on commit 6c2c90e

Please sign in to comment.