Commit 7c20121337f3ae188351c20e7b469851dc642595

Authored by Vladyslav_Prykhodko
Committed by Andrew Shvayka
1 parent 29d04ef7

UI [MAP]: Fixed parse data for datasource type function

... ... @@ -319,7 +319,7 @@ export const parseWithTranslation = {
319 319 };
320 320
321 321 export function parseData(input: DatasourceData[]): FormattedData[] {
322   - return _(input).groupBy(el => el?.datasource.entityId + el?.datasource.entityType)
  322 + return _(input).groupBy(el => el?.datasource.entityName + el?.datasource.entityType)
323 323 .values().value().map((entityArray, i) => {
324 324 const obj: FormattedData = {
325 325 entityName: entityArray[0]?.datasource?.entityName,
... ...