From 66558c93aff648016bab5bfc9bc27651969154b3 Mon Sep 17 00:00:00 2001 From: "seungdeok.jeong" Date: Fri, 2 Aug 2024 16:57:23 +0900 Subject: [PATCH] fix: remove backId in copy task #274 --- frontend/image-tool/src/package/image-editor/utils/data.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/image-tool/src/package/image-editor/utils/data.ts b/frontend/image-tool/src/package/image-editor/utils/data.ts index 3f2c2149..ba212194 100644 --- a/frontend/image-tool/src/package/image-editor/utils/data.ts +++ b/frontend/image-tool/src/package/image-editor/utils/data.ts @@ -70,6 +70,7 @@ export function copyData( updateTrans.transforms.push(copyedAttrs); } else { const newObject = annotate.cloneThisShape(); + newObject.userData.backId = undefined; newObject.userData.resultStatus = Const.Copied; addOption.objects.push(newObject); }