Bläddra i källkod

:bug: switch credits component to use the singlePost object | #112

tags/0.9.0
J 4 år sedan
förälder
incheckning
aa52e36c16
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. 1
    1
      vue-theme/src/components/credits.vue
  2. 2
    2
      vue-theme/src/pages/single.vue

+ 1
- 1
vue-theme/src/components/credits.vue Visa fil

@@ -1,5 +1,5 @@
1 1
 <template lang="pug">
2
-.credits
2
+.credits(v-if="post.credits")
3 3
     h2.t-up credits
4 4
     div(v-html="post.credits")
5 5
 </template>

+ 2
- 2
vue-theme/src/pages/single.vue Visa fil

@@ -29,8 +29,8 @@
29 29
                 li.f-row.between(v-for="artist in p2pPostsByType['artist']")
30 30
                     card(:content="artist" type="artist" :wide="true" :hide-type="true")
31 31
             
32
-        credits(v-if="type === 'episode' && post" :post="post")
33
-
32
+        credits(v-if="type === 'episode' && singlePost" :post="singlePost")
33
+        
34 34
         //- end of article icon
35 35
         footer.f-col
36 36
             img(src="../star.svg")

Laddar…
Avbryt
Spara