From 5387c16fd56c6bc7f2331fd8bfbd4bd2c4709aa6 Mon Sep 17 00:00:00 2001 From: ogerly Date: Tue, 25 Apr 2023 15:23:02 +0200 Subject: [PATCH] ribbonText --- webapp/components/PostTeaser/PostTeaser.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') }, },