kopia lustrzana https://github.com/nextcloud/social
rodzic
6e7cb67c93
commit
ef8c6f81fc
|
@ -24,6 +24,9 @@ export default Vue.component('MessageContent', {
|
|||
* All attributes other than `href` for links are stripped from the source
|
||||
*/
|
||||
export function formatMessage(createElement, source) {
|
||||
if (!source.tag) {
|
||||
source.tag = []
|
||||
}
|
||||
let mentions = source.tag.filter(tag => tag.type === 'Mention')
|
||||
let hashtags = source.tag.filter(tag => tag.type === 'Hashtag')
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div :class="['timeline-entry', hasHeader ? 'with-header' : '']" @click="getSinglePostTimeline">
|
||||
<div :class="['timeline-entry', hasHeader ? 'with-header' : '']">
|
||||
<template v-if="item.type === 'SocialAppNotification'">
|
||||
<div class="notification-icon" :class="notificationIcon" />
|
||||
<span class="notification-action">
|
||||
|
|
Ładowanie…
Reference in New Issue