diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-12-13 22:20:59 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-12-13 22:20:59 +0000 |
| commit | 2b41c1cfe86cba814aba98da14d70ac1c09f422f (patch) | |
| tree | b90119b33d0d9cbcccc9193809864fe630020bf6 /src/components/notifications/notifications.vue | |
| parent | a98e241a815a95a2a7dd073aec8a993719037dcc (diff) | |
| parent | 55ed65331fb5e53374a0be6710896c383e34d120 (diff) | |
Merge branch 'notifications-thru-sw' into 'develop'
Notifications improvements.
See merge request pleroma/pleroma-fe!1873
Diffstat (limited to 'src/components/notifications/notifications.vue')
| -rw-r--r-- | src/components/notifications/notifications.vue | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index 999f8e9c..a0025182 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -66,10 +66,14 @@ :key="notification.id" role="listitem" class="notification" - :class="{unseen: !minimalMode && !notification.seen}" + :class="{unseen: !minimalMode && shouldShowUnseen(notification)}" + @click="e => notificationClicked(notification)" > <div class="notification-overlay" /> - <notification :notification="notification" /> + <notification + :notification="notification" + @interacted="e => notificationInteracted(notification)" + /> </div> </div> <div class="panel-footer"> |
