Commit 7c20121337f3ae188351c20e7b469851dc642595
Committed by
Andrew Shvayka
1 parent
29d04ef7
UI [MAP]: Fixed parse data for datasource type function
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -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, | ... | ... |