Commit cd301f4a authored by anton's avatar anton
Browse files

Deep compare for fields watcher in Uploader.vue

parent 313f23f8
Pipeline #79291 passed with stage
in 1 minute and 14 seconds
......@@ -26,8 +26,11 @@
multiple () {
this.allowMultiple = this.multiple
},
fields () {
this.addFields = this.fields || []
fields: {
deep: true,
handler () {
this.addFields = this.fields || []
}
}
},
methods: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment