mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-19 02:14:31 +02:00
Update:Notification system descriptions #996
This commit is contained in:
parent
a35b35c062
commit
88726bed86
7 changed files with 25 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue