From edbef7ec97e88fbb0ca080779bb33227fe8b8ac5 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 24 Feb 2021 13:55:48 +0000 Subject: [PATCH] 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. --- packages/server/src/db/linkedRows/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/db/linkedRows/index.js b/packages/server/src/db/linkedRows/index.js index aa795284cb..f60c4c7f26 100644 --- a/packages/server/src/db/linkedRows/index.js +++ b/packages/server/src/db/linkedRows/index.js @@ -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" ) }