We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8b5fad commit 3e2a952Copy full SHA for 3e2a952
app/src/components/Notification/Notification.vue
@@ -69,7 +69,7 @@ function newSSE() {
69
70
function init() {
71
loading.value = true
72
- notificationApi.get_list().then(r => {
+ notificationApi.get_list({ sort: 'desc', order_by: 'created_at' }).then(r => {
73
data.value = r.data
74
unreadCount.value = r.pagination?.total || 0
75
}).finally(() => {
@@ -182,7 +182,8 @@ function viewAll() {
182
<template #description>
183
<div class="flex justify-between items-center">
184
<div>
185
- {{ notifications[item.title].content(item.details) }}
+ {{ notifications[item.title]?.content(item.details)
186
+ || item.content || item.details }}
187
</div>
188
<span
189
key="list-loadmore-remove"
0 commit comments