diff --git a/webapp/components/PostTeaser/PostTeaser.vue b/webapp/components/PostTeaser/PostTeaser.vue index d9aa3dbc1..5d36958f3 100644 --- a/webapp/components/PostTeaser/PostTeaser.vue +++ b/webapp/components/PostTeaser/PostTeaser.vue @@ -155,7 +155,7 @@ export default { ribbonText() { console.log(this.post) if (this.post.pinned) return this.$t('post.pinned') - // if (this.post.postType === "Event") return this.$t('post.event') + if (this.post && this.post.postType === "Event") return this.$t('post.event') return this.$t('post.name') }, },