mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Update webapp/components/NotificationsTable/NotificationsTable.vue
Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
This commit is contained in:
parent
d4149e964d
commit
e1a18527cf
@ -59,15 +59,15 @@
|
|||||||
<base-card :wide-content="true">
|
<base-card :wide-content="true">
|
||||||
<nuxt-link
|
<nuxt-link
|
||||||
class="notification-mention-post"
|
class="notification-mention-post"
|
||||||
:class="{ 'notification-status': n.read }"
|
:class="{ 'notification-status': notification.read }"
|
||||||
:to="{
|
:to="{
|
||||||
name: 'post-id-slug',
|
name: 'post-id-slug',
|
||||||
params: params(n.from),
|
params: params(notification.from),
|
||||||
hash: hashParam(n.from),
|
hash: hashParam(notification.from),
|
||||||
}"
|
}"
|
||||||
@click.native="markNotificationAsRead(n.from.id)"
|
@click.native="markNotificationAsRead(notification.from.id)"
|
||||||
>
|
>
|
||||||
<b>{{ n.from.title || n.from.post.title | truncate(50) }}</b>
|
<b>{{ notification.from.title || notification.from.post.title | truncate(50) }}</b>
|
||||||
</nuxt-link>
|
</nuxt-link>
|
||||||
</base-card>
|
</base-card>
|
||||||
</ds-flex-item>
|
</ds-flex-item>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user