Skip to content

Commit

Permalink
fix: remove backId in copy task #274
Browse files Browse the repository at this point in the history
  • Loading branch information
seungdeok.jeong committed Aug 2, 2024
1 parent 14961ee commit 66558c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/image-tool/src/package/image-editor/utils/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

1 comment on commit 66558c9

@chanyoung1998
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good!

Please sign in to comment.