From 4c123cef2cc32bca9613a261f90e68f4b2e5fde8 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Fri, 4 Dec 2026 13:54:08 +0200 Subject: [PATCH] fix(ai): a solution's failed user row and the chat's list of items that need attention show the user's email when the install result has no name --- .../ai/solution/pane/solution-installed.component.html | 4 ++-- .../home/components/ai/solution/solution-chat.component.ts | 2 +- .../ai/solution/solution-info/issues-aggregation.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/ai/solution/pane/solution-installed.component.html b/ui-ngx/src/app/modules/home/components/ai/solution/pane/solution-installed.component.html index 3289cdf830..09530c1ca3 100644 --- a/ui-ngx/src/app/modules/home/components/ai/solution/pane/solution-installed.component.html +++ b/ui-ngx/src/app/modules/home/components/ai/solution/pane/solution-installed.component.html @@ -45,11 +45,11 @@ @if (link(row.type, row); as url) { - {{ row.primary.additionalData?.name }} + {{ row.primary.additionalData?.name ?? row.primary.additionalData?.email }} } @else { - {{ row.primary.additionalData?.name }} + {{ row.primary.additionalData?.name ?? row.primary.additionalData?.email }} } diff --git a/ui-ngx/src/app/modules/home/components/ai/solution/solution-chat.component.ts b/ui-ngx/src/app/modules/home/components/ai/solution/solution-chat.component.ts index de3b8151f5..a6f208cdc3 100644 --- a/ui-ngx/src/app/modules/home/components/ai/solution/solution-chat.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai/solution/solution-chat.component.ts @@ -524,7 +524,7 @@ export class SolutionChatComponent extends PageComponent implements OnInit, OnDe } return Object.values(results).flat() .filter(entry => entry?.status === 'ERROR' || entry?.status === 'WARN') - .map(entry => ({name: entry.additionalData?.name ?? '', status: entry.status, message: entry.error?.message})); + .map(entry => ({name: entry.additionalData?.name ?? entry.additionalData?.email ?? '', status: entry.status, message: entry.error?.message})); }); private paneEdgeEffect = effect(() => { diff --git a/ui-ngx/src/app/modules/home/components/ai/solution/solution-info/issues-aggregation.ts b/ui-ngx/src/app/modules/home/components/ai/solution/solution-info/issues-aggregation.ts index 61b95fb4f4..fe51bb7a70 100644 --- a/ui-ngx/src/app/modules/home/components/ai/solution/solution-info/issues-aggregation.ts +++ b/ui-ngx/src/app/modules/home/components/ai/solution/solution-info/issues-aggregation.ts @@ -28,7 +28,7 @@ export function aggregateByName(entityType: EntityType, entries: EntityResult[] const groups = new Map(); for (const e of entries) { - const name = e.additionalData?.name ?? ''; + const name = e.additionalData?.name ?? e.additionalData?.email ?? ''; let list = groups.get(name); if (!list) { list = [];