aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2023-11-13 17:29:25 +0200
committerHenry Jameson <me@hjkos.com>2023-11-13 17:29:25 +0200
commitec2937ec1f3b0ae153f79604eb35b57ffe0f9af2 (patch)
tree43f77d71432accfbd90dc9747224c22c1393293c /src/components/notifications/notifications.vue
parentc059f4a7ee16c0128c348c43c9d468e7cfdb5ef7 (diff)
add options for marking single notification as read
Diffstat (limited to 'src/components/notifications/notifications.vue')
-rw-r--r--src/components/notifications/notifications.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue
index 999f8e9c..27ae23cf 100644
--- a/src/components/notifications/notifications.vue
+++ b/src/components/notifications/notifications.vue
@@ -67,9 +67,13 @@
role="listitem"
class="notification"
:class="{unseen: !minimalMode && !notification.seen}"
+ @click="e => notificationClicked(notification)"
>
<div class="notification-overlay" />
- <notification :notification="notification" />
+ <notification
+ :notification="notification"
+ @interacted="e => notificationInteracted(notification)"
+ />
</div>
</div>
<div class="panel-footer">