diff --git a/webapp/pages/post/_id/_slug/index.vue b/webapp/pages/post/_id/_slug/index.vue index c1dfa7324..cd760c922 100644 --- a/webapp/pages/post/_id/_slug/index.vue +++ b/webapp/pages/post/_id/_slug/index.vue @@ -57,7 +57,7 @@ - + Start: {{ post.eventStart }} @@ -202,7 +202,7 @@ export default { data() { return { links, - post: {postType: ['Article']}, + post: null, ready: false, title: 'loading', showNewCommentForm: true, @@ -247,7 +247,7 @@ export default { ] }, heading() { - if (this.post.postType[0] === 'Event') return this.$t('post.viewEvent.title') + if (this.post?.postType[0] === 'Event') return this.$t('post.viewEvent.title') return this.$t('post.viewPost.title') }, menuModalsData() {