@masterteam/client-components 0.0.100 → 0.0.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,7 +9,7 @@ import { provideEntityListTablePreview } from '@masterteam/components/business-f
|
|
|
9
9
|
import { RuntimeActionRunner, resolveActionLabel } from '@masterteam/components/runtime-action';
|
|
10
10
|
import { HttpClient } from '@angular/common/http';
|
|
11
11
|
import { switchMap, map, forkJoin, catchError, of, shareReplay, Observable, share, take } from 'rxjs';
|
|
12
|
-
import { isSectionKey, resolveLocalizedLabel, readEntityValueColor, serializeEntityRawValue, EntitiesPreview } from '@masterteam/components/entities';
|
|
12
|
+
import { isSectionKey, mergeStakeholderNameEntities, resolveLocalizedLabel, readEntityValueColor, serializeEntityRawValue, EntitiesPreview } from '@masterteam/components/entities';
|
|
13
13
|
import { Table, TableExportService, TableGroupingController, TableValueResolver, TableCaption } from '@masterteam/components/table';
|
|
14
14
|
import * as i2 from 'primeng/skeleton';
|
|
15
15
|
import { SkeletonModule } from 'primeng/skeleton';
|
|
@@ -1034,6 +1034,7 @@ class ClientListStateService {
|
|
|
1034
1034
|
const normalizedEntities = statusColor
|
|
1035
1035
|
? this.applyCardProgressColor(entities, statusColor)
|
|
1036
1036
|
: entities;
|
|
1037
|
+
const displayEntities = mergeStakeholderNameEntities(normalizedEntities);
|
|
1037
1038
|
return {
|
|
1038
1039
|
id: record.id,
|
|
1039
1040
|
name: record.name ?? `Record ${record.id}`,
|
|
@@ -1048,8 +1049,8 @@ class ClientListStateService {
|
|
|
1048
1049
|
: undefined,
|
|
1049
1050
|
instanceId: record.id,
|
|
1050
1051
|
state: record.state ?? null,
|
|
1051
|
-
properties:
|
|
1052
|
-
entities:
|
|
1052
|
+
properties: displayEntities,
|
|
1053
|
+
entities: displayEntities,
|
|
1053
1054
|
// Only present on a descendant board, where cards come from several
|
|
1054
1055
|
// owners at once and the list's own context no longer identifies the
|
|
1055
1056
|
// record a card belongs to.
|