Skip to content

Commit

Permalink
Fix wrong WorkspaceAvatar colors on workspace profile page
Browse files Browse the repository at this point in the history
  • Loading branch information
Kicu committed May 17, 2024
1 parent ff2dab5 commit d9844a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/WorkspaceAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function WorkspaceAvatar({policy, isLoadingApp = true}: WorkspaceAvatarProps) {
source={UserUtils.getFullSizeAvatar(avatarURL, 0)}
onModalClose={Navigation.goBack}
isWorkspaceAvatar
originalFileName={policy?.originalFileName ?? policy?.name ?? ''}
originalFileName={policy?.originalFileName ?? policy?.id}
shouldShowNotFoundPage={!Object.keys(policy ?? {}).length && !isLoadingApp}
isLoading={!Object.keys(policy ?? {}).length && !!isLoadingApp}
maybeIcon
Expand Down

0 comments on commit d9844a6

Please sign in to comment.