Better event.

This commit is contained in:
James Cole
2021-02-23 06:42:04 +01:00
parent fb821ea63e
commit 419c1a75dd
4 changed files with 23 additions and 68 deletions

View File

@@ -216,9 +216,7 @@ export default {
},
watch: {
links: function (value) {
// TODO
this.$emit('set-links', lodashClonedeep(value));
//this.updateField({index: this.index, field: 'links', value: lodashClonedeep(value)});
this.$emit('set-links', {index: this.index, field: 'links', value: lodashClonedeep(value)});
},
customFields: function (value) {
this.availableFields = value;