Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/748/head
Robin Appelman 2020-10-14 17:40:20 +02:00
rodzic 6e7cb67c93
commit ef8c6f81fc
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -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')

Wyświetl plik

@ -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">