fix creation img url & modal scope

This commit is contained in:
axolotle
2022-01-22 14:37:16 +01:00
parent 23e7b57154
commit 7b67f717c2
2 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ export default {
created () {
if (this.node.images && this.node.images.length) {
const { url, alt, id } = this.node.images[0]
this.image = { alt, id, url: url.replace('api', 'api/sites/default/files') }
this.image = { alt, id, url }
}
}
}