From 8d78db568e86057a60f52f0f9843ccc0cba465a3 Mon Sep 17 00:00:00 2001 From: Jacek Pluta Date: Tue, 24 Sep 2024 12:54:57 +0200 Subject: [PATCH] [ACS-8821] Agent avatar image location fix --- .../{avatars/Blue.png => agent-avatar-blue.png} | Bin .../{avatars/Gold.png => agent-avatar-gold.png} | Bin .../{avatars/Pink.png => agent-avatar-pink.png} | Bin .../search-ai/search-ai-utils.ts | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename app/src/assets/images/{avatars/Blue.png => agent-avatar-blue.png} (100%) rename app/src/assets/images/{avatars/Gold.png => agent-avatar-gold.png} (100%) rename app/src/assets/images/{avatars/Pink.png => agent-avatar-pink.png} (100%) diff --git a/app/src/assets/images/avatars/Blue.png b/app/src/assets/images/agent-avatar-blue.png similarity index 100% rename from app/src/assets/images/avatars/Blue.png rename to app/src/assets/images/agent-avatar-blue.png diff --git a/app/src/assets/images/avatars/Gold.png b/app/src/assets/images/agent-avatar-gold.png similarity index 100% rename from app/src/assets/images/avatars/Gold.png rename to app/src/assets/images/agent-avatar-gold.png diff --git a/app/src/assets/images/avatars/Pink.png b/app/src/assets/images/agent-avatar-pink.png similarity index 100% rename from app/src/assets/images/avatars/Pink.png rename to app/src/assets/images/agent-avatar-pink.png diff --git a/projects/aca-content/src/lib/components/knowledge-retrieval/search-ai/search-ai-utils.ts b/projects/aca-content/src/lib/components/knowledge-retrieval/search-ai/search-ai-utils.ts index 9f76d2e74b..7a2118769e 100644 --- a/projects/aca-content/src/lib/components/knowledge-retrieval/search-ai/search-ai-utils.ts +++ b/projects/aca-content/src/lib/components/knowledge-retrieval/search-ai/search-ai-utils.ts @@ -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] }; });