UI [MAP]: Fixed parse data for datasource type function
This commit is contained in:
parent
29d04ef792
commit
7c20121337
@ -319,7 +319,7 @@ export const parseWithTranslation = {
|
||||
};
|
||||
|
||||
export function parseData(input: DatasourceData[]): FormattedData[] {
|
||||
return _(input).groupBy(el => el?.datasource.entityId + el?.datasource.entityType)
|
||||
return _(input).groupBy(el => el?.datasource.entityName + el?.datasource.entityType)
|
||||
.values().value().map((entityArray, i) => {
|
||||
const obj: FormattedData = {
|
||||
entityName: entityArray[0]?.datasource?.entityName,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user