Explorar el Código

remove images url temp fix

axolotle hace 2 años
padre
commit
985f5d6e88
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      src/store/nodes.js

+ 1 - 2
src/store/nodes.js

@@ -46,8 +46,7 @@ export default {
         }
 
         if (node.images && node.images.length) {
-          const { url, alt, id } = node.images[0]
-          node.image = { alt, id, url: url.replace('api', 'api/sites/default/files') }
+          node.image = node.images[0]
         }
 
         if ('creations' in node) {