mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
add clickedCount to PostTeaser
This commit is contained in:
parent
4611e298f5
commit
d3eafc9b69
@ -34,6 +34,11 @@
|
||||
:count="post.commentsCount"
|
||||
:title="$t('contribution.amount-comments', { amount: post.commentsCount })"
|
||||
/>
|
||||
<counter-icon
|
||||
icon="eye"
|
||||
:count="post.clickedCount"
|
||||
:title="$t('contribution.amount-clicks', { amount: post.clickedCount })"
|
||||
/>
|
||||
<client-only>
|
||||
<content-menu
|
||||
resource-type="contribution"
|
||||
|
||||
@ -67,6 +67,7 @@ export const postCountsFragment = gql`
|
||||
shoutedCount
|
||||
shoutedByCurrentUser
|
||||
emotionsCount
|
||||
clickedCount
|
||||
}
|
||||
`
|
||||
|
||||
|
||||
@ -174,6 +174,7 @@
|
||||
}
|
||||
},
|
||||
"contribution": {
|
||||
"amount-clicks": "{amount} clicks",
|
||||
"amount-comments": "{amount} comments",
|
||||
"amount-shouts": "{amount} recommendations",
|
||||
"categories": {
|
||||
|
||||
@ -174,6 +174,7 @@
|
||||
}
|
||||
},
|
||||
"contribution": {
|
||||
"amount-clicks": "{amount} clicks",
|
||||
"amount-comments": "{amount} comments",
|
||||
"amount-shouts": "{amount} recommendations",
|
||||
"categories": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user