- Updated the logic for tracking existing item IDs to prevent duplicates during item addition, ensuring that sibling items are checked for duplicates at the same level while allowing duplicates in child levels. - Enhanced the existingItemIds calculation to differentiate between root level and child level additions, improving data integrity and user experience. - Refactored the useMemo hook to include addTargetParentId as a dependency, ensuring accurate updates when the target parent ID changes. |
||
|---|---|---|
| .. | ||
| BomItemEditorComponent.tsx | ||
| BomItemEditorRenderer.tsx | ||
| index.ts | ||