Skip to content

Commit

Permalink
Structure field: clone row on duplicate
Browse files Browse the repository at this point in the history
Fixes #6073
  • Loading branch information
distantnative committed Dec 27, 2023
1 parent 7c461d2 commit 7c6ce5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/src/components/Forms/Field/StructureField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ export default {
case "duplicate":
this.add({
...row,
...structuredClone(row),
_id: this.$helper.uuid()
});
break;
Expand Down

0 comments on commit 7c6ce5a

Please sign in to comment.