mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
[ACS-8821] Agent avatar image location fix (#4135)
This commit is contained in:
parent
3d25eb7beb
commit
f50b0144d3
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 100 KiB |
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 96 KiB |
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 97 KiB |
@ -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] };
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user