We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adc45f0 commit f3d2bf2Copy full SHA for f3d2bf2
src/components/BlogSection.vue
@@ -22,7 +22,10 @@
22
/>
23
<div class="featured-content">
24
<h3>{{ index.title }}</h3>
25
- <!-- <p v-html="index.body.slice(0, 255)" /> -->
+ <p
26
+ v-if="typeof index.body === 'string'"
27
+ v-html="index.body.slice(0, 255)"
28
+ />
29
<p>
30
<router-link class="blogpost-readmore" :to="index.url">
31
Read More -->
src/views/Home.vue
@@ -32,7 +32,7 @@ export default {
32
contentTypeUid: 'page',
33
entryUrl: `${this.$route.fullPath}`,
34
referenceFieldPath: ['page_components.from_blog.featured_blogs'],
35
- jsonRtePath: []
+ jsonRtePath: ['page_components.from_blog.featured_blogs.body']
36
});
37
this.data = response[0];
38
this.$store.dispatch('setPage', response[0]);
0 commit comments