Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add object type as data attr to notification
Signed-off-by: Akhil <[email protected]>
  • Loading branch information
akhil1508 authored and nickvergessen committed Apr 17, 2023
commit ceaa28fc3ab87c3b6167c17d2fed9c42677eb8ea
4 changes: 2 additions & 2 deletions js/notifications-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/notifications-main.js.map

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion src/Components/Notification.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<template>
<li class="notification" :data-id="notificationId" :data-timestamp="timestamp">
<li class="notification"
:data-id="notificationId"
:data-timestamp="timestamp"
:data-object-type="objectType"
:data-app="app">
<div class="notification-heading">
<span class="hidden-visually">{{ absoluteDate }}</span>
<span v-if="timestamp"
Expand Down