mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
linting
This commit is contained in:
parent
a25e6eb326
commit
1501bcb06c
@ -1,7 +1,10 @@
|
||||
<template>
|
||||
<article :class="{ '--read': notification.read, notification: true }">
|
||||
<client-only>
|
||||
<user-teaser :user="isGroup ? notification.relatedUser : from.author" :date-time="from.createdAt" />
|
||||
<user-teaser
|
||||
:user="isGroup ? notification.relatedUser : from.author"
|
||||
:date-time="from.createdAt"
|
||||
/>
|
||||
</client-only>
|
||||
<p class="description">{{ $t(`notifications.reason.${notification.reason}`) }}</p>
|
||||
<nuxt-link
|
||||
|
||||
@ -40,7 +40,9 @@
|
||||
<client-only>
|
||||
<user-teaser
|
||||
:user="
|
||||
isGroup(notification.from) ? notification.relatedUser : notification.from.author
|
||||
isGroup(notification.from)
|
||||
? notification.relatedUser
|
||||
: notification.from.author
|
||||
"
|
||||
:date-time="notification.from.createdAt"
|
||||
:class="{ 'notification-status': notification.read }"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user