Skip to content

Commit

Permalink
[ACS-8821] Agent avatar image location fix (#4135)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekpluta authored Sep 24, 2024
1 parent 3d25eb7 commit f50b014
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
File renamed without changes
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { Agent } from '@alfresco/js-api/typings';

export const getAgentsWithMockedAvatars = (agents: Agent[], mocked: boolean) => {
if (mocked) {
const images = ['assets/images/avatars/Blue.png', 'assets/images/avatars/Gold.png', 'assets/images/avatars/Pink.png'];
const images = ['assets/images/agent-avatar-blue.png', 'assets/images/agent-avatar-gold.png', 'assets/images/agent-avatar-pink.png'];
return agents.map((agent, index) => {
return { ...agent, avatarUrl: images[index > 2 ? 2 : index] };
});
Expand Down

0 comments on commit f50b014

Please sign in to comment.