kopia lustrzana https://github.com/nextcloud/social
📦 NEW: display a post block for like and boost notifications
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>pull/625/head
rodzic
24a2e12b17
commit
0d42d2d0c6
|
@ -19,7 +19,13 @@
|
||||||
</a>
|
</a>
|
||||||
{{ boosted }}
|
{{ boosted }}
|
||||||
</div>
|
</div>
|
||||||
<timeline-post v-if="(item.type === 'Note' || item.type === 'Announce')" :item="entryContent" :parent-announce="isBoost" />
|
<timeline-post
|
||||||
|
v-if="item.type === 'Note' || item.type === 'Announce'"
|
||||||
|
:item="entryContent"
|
||||||
|
:parent-announce="isBoost" />
|
||||||
|
<timeline-post
|
||||||
|
v-else-if="item.type === 'SocialAppNotification' && item.details.post"
|
||||||
|
:item="item.details.post" />
|
||||||
<user-entry v-if="item.type === 'SocialAppNotification' && item.details.actor" :key="item.details.actor.id" :item="item.details.actor" />
|
<user-entry v-if="item.type === 'SocialAppNotification' && item.details.actor" :key="item.details.actor.id" :item="item.details.actor" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Ładowanie…
Reference in New Issue