mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
ribbonText
This commit is contained in:
parent
032b65fb92
commit
5387c16fd5
@ -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')
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user