From 040b2e63b1f76a2256bbdc16e9d77a1c374e8d39 Mon Sep 17 00:00:00 2001 From: vmonakhov Date: Wed, 4 Sep 2024 20:44:06 +0300 Subject: [PATCH] fixed distance map --- src/pages/DistanceMap/getDistancePerspectives.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/DistanceMap/getDistancePerspectives.js b/src/pages/DistanceMap/getDistancePerspectives.js index 0b771469..3e9f343d 100644 --- a/src/pages/DistanceMap/getDistancePerspectives.js +++ b/src/pages/DistanceMap/getDistancePerspectives.js @@ -102,7 +102,8 @@ const getDistance = async (dictionaries, allField, mainDictionary, computeDistan .map(({ perspective }, index) => [ perspective.id, fieldDict[transcriptionFieldIdStrList[index]].id, - fieldDict[translationFieldIdStrList[index]].id + fieldDict[translationFieldIdStrList[index]].id, + null ]) .filter((_perspectiveInfo, index) => perspectiveSelectionList[index]); let responseMutanion = null;