Parcourir la source

:recycle: adding some logs for troubleshooting

tags/0.9.0
J il y a 4 ans
Parent
révision
c91409d449
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      vue-theme/src/pages/single.vue

+ 2
- 2
vue-theme/src/pages/single.vue Voir le fichier

216
             const singlePostData = allPostsOfType.filter(
216
             const singlePostData = allPostsOfType.filter(
217
                 post => post.slug == this.$route.params.slug,
217
                 post => post.slug == this.$route.params.slug,
218
             )[0]
218
             )[0]
219
-
219
+            console.log('single res:', res)
220
             if (!singlePostData) return
220
             if (!singlePostData) return
221
 
221
 
222
             // NOT plural
222
             // NOT plural
224
                 `getSingle${convertTitleCase(this.type)}`,
224
                 `getSingle${convertTitleCase(this.type)}`,
225
                 singlePostData.id,
225
                 singlePostData.id,
226
             )
226
             )
227
-            
227
+            console.log(post)
228
             this.checkAndSetHero(this.singlePost)
228
             this.checkAndSetHero(this.singlePost)
229
         },
229
         },
230
 
230
 

Chargement…
Annuler
Enregistrer