Skip to content

Commit 0899171

Browse files
Fix path uuid lookup bug (#411)
* Fix uuid lookup * get the element based on the index, if that's undefined, find it by matching the uuid
1 parent 7c99485 commit 0899171

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/utils/data-manager.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,10 @@ export default class DataManager {
568568
if (result.groups.length > 0) {
569569
return result.groups[current];
570570
} else if (result.data) {
571-
return result.data[current];
571+
return (
572+
result.data[current] ||
573+
result.data.find((data) => data.tableData?.uuid === current)
574+
);
572575
} else {
573576
return undefined;
574577
}

0 commit comments

Comments
 (0)