Update:Notification system descriptions #996

This commit is contained in:
advplyr committed 2022-09-25 09:46:45 -05:00
1 parent a35b35c062
commit 88726bed86
7 files changed
+25 -10

No files matched your search

@@ -32,8 +32,8 @@ class NotificationSettings {
return !!this.appriseApiUrl
}
getNotificationsForEvent(eventName) {
return this.notifications.filter(n => n.eventName === eventName)
getActiveNotificationsForEvent(eventName) {
return this.notifications.filter(n => n.eventName === eventName && n.enabled)
}
getNotification(id) {