diff --git a/src/components/estimate/Estimate.jsx b/src/components/estimate/Estimate.jsx index f4214e68..deb95caf 100644 --- a/src/components/estimate/Estimate.jsx +++ b/src/components/estimate/Estimate.jsx @@ -1129,6 +1129,14 @@ export default function Estimate({}) { setSpecialNoteFirstFlg(false) }, [estimateContextState.resetFlag]) + useEffect(() => { + if (estimateContextState?.itemList.length > 0) { + const tempList = estimateContextState.itemList.filter((item) => !displayItemList.some((resItem) => resItem.itemId === item.itemId)) + if (tempList.length > 0) { + setDisplayItemList((prevList) => [...prevList, ...tempList]) + } + } + }, [estimateContextState]) return (