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:
mike12345567 2021-02-24 13:55:48 +00:00
parent 2520118817
commit 8f9ea1cd8a
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ async function getLinksForRows(appId, rows) {
return getUniqueByProp(
responses
// 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"
)
}