Minor change, making sure each link is definitely unique by combining each of its three unique properties into a uniqueness hash, was missing one of the components.
This commit is contained in:
parent
2520118817
commit
8f9ea1cd8a
|
@ -51,7 +51,7 @@ async function getLinksForRows(appId, rows) {
|
||||||
return getUniqueByProp(
|
return getUniqueByProp(
|
||||||
responses
|
responses
|
||||||
// create a unique ID which we can use for getting only unique ones
|
// create a unique ID which we can use for getting only unique ones
|
||||||
.map(el => ({ ...el, unique: el.id + el.fieldName })),
|
.map(el => ({ ...el, unique: el.id + el.thisId + el.fieldName })),
|
||||||
"unique"
|
"unique"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue