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