forked from DebaucheryLibrarian/traxxx
Triggering notifications for children of alert entities. Showing icons in alert entity search to distinguish networks and channels.
This commit is contained in:
@@ -200,7 +200,10 @@ function curateNotification(notification) {
|
||||
const curatedNotification = notification;
|
||||
|
||||
curatedNotification.scene = curateRelease(notification.scene);
|
||||
curatedNotification.alert = curateAlert(notification.alert.alert || notification.alert);
|
||||
|
||||
if (notification.alert) {
|
||||
curatedNotification.alert = curateAlert(notification.alert.alert || notification.alert);
|
||||
}
|
||||
|
||||
return curatedNotification;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user