ribbonText

This commit is contained in:
ogerly 2023-04-25 15:23:02 +02:00
parent 032b65fb92
commit 5387c16fd5

View File

@ -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')
},
},