Skip to content

Commit

Permalink
fixed to find uuid (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
9RA committed Dec 16, 2021
1 parent 940396b commit 8932e17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/data-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,9 @@ export default class DataManager {
if (pointer.tableData && pointer.tableData.childRows) {
pointer = pointer.tableData.childRows;
}
pointer = pointer[pathPart];
if (Array.isArray(pointer)) {
pointer = pointer.find(p => p.tableData.uuid === pathPart);
}
});
pointer.tableData.markedForTreeRemove = true;
};
Expand Down

0 comments on commit 8932e17

Please sign in to comment.