Explorar el Código

:bug: invalid var assignment fix

tags/0.9.0
j hace 4 años
padre
commit
88d1c6816c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      vue-theme/src/pages/single.vue

+ 1
- 1
vue-theme/src/pages/single.vue Ver fichero

@@ -145,7 +145,7 @@ export default {
145 145
          */
146 146
         checkAndSetHero(post) {
147 147
             if(!post) return
148
-            const json = { url: post.featured, heroType: 'image' }
148
+            let json = { url: post.featured, heroType: 'image' }
149 149
             if(post.hero && JSON.parse(post.hero).url) {
150 150
                 json = JSON.parse(post.hero)
151 151
                 json.heroType = 'video'

Loading…
Cancelar
Guardar