update docs

This commit is contained in:
lesion
2021-12-07 16:34:42 +01:00
parent ad93f83b12
commit 4cf38777c9
9 changed files with 115 additions and 59 deletions

View File

@@ -87,7 +87,7 @@ export default {
},
methods: {
save () {
this.$emit('input', { url: this.value.url, image: this.value.image, name: this.name || this.value.image.name || '', focalpoint: [...this.focalpoint] })
this.$emit('input', { url: this.value.url, image: this.value.image, name: this.name || (this.value.image && this.value.image.name) || '', focalpoint: [...this.focalpoint] })
this.openMediaDetails = false
},
async remove () {