diff --git a/src/pages/ReportAvatar.tsx b/src/pages/ReportAvatar.tsx index 6b4c2e35c19f..766285dec0d8 100644 --- a/src/pages/ReportAvatar.tsx +++ b/src/pages/ReportAvatar.tsx @@ -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} />