diff --git a/webapp/components/PostTeaser/PostTeaser.vue b/webapp/components/PostTeaser/PostTeaser.vue
index 228c4c90c..9febce5f8 100644
--- a/webapp/components/PostTeaser/PostTeaser.vue
+++ b/webapp/components/PostTeaser/PostTeaser.vue
@@ -11,6 +11,8 @@
}"
:highlight="isPinned"
>
+ ss
+
@@ -19,7 +21,7 @@
@@ -152,6 +154,12 @@ export default {
isPinned() {
return this.post && this.post.pinned
},
+ ribbonText() {
+ console.log(this.post)
+ if (this.post.pinned) return this.$t('post.pinned')
+ // if (this.post.postType === "Event") return this.$t('post.event')
+ return this.$t('post.name')
+ },
},
methods: {
async deletePostCallback() {
diff --git a/webapp/graphql/Fragments.js b/webapp/graphql/Fragments.js
index 4931750b6..cdba3e342 100644
--- a/webapp/graphql/Fragments.js
+++ b/webapp/graphql/Fragments.js
@@ -67,6 +67,7 @@ export const postFragment = gql`
}
pinnedAt
pinned
+ postType
}
`