Skip to content

Commit

Permalink
Don't clone. Prevents only the last field's value of a set being show…
Browse files Browse the repository at this point in the history
…n in the preview.
  • Loading branch information
jasonvarga committed Nov 6, 2020
1 parent 14b4a21 commit a5fd579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/fieldtypes/replicator/Set.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default {
},
previewUpdated(handle, value) {
let previews = clone(this.previews);
let previews = this.previews;
previews[handle] = value;
this.$emit('previews-updated', previews);
},
Expand Down

0 comments on commit a5fd579

Please sign in to comment.