mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-30 20:24:05 +01:00
Notification create/update events UI
This commit is contained in:
1 parent
ff04eb8d5e
commit
b08ad8785e
9 files changed
+389
-9
No files matched your search
@@ -1,5 +1,6 @@
|
||||
const axios = require('axios')
|
||||
const Logger = require("../Logger")
|
||||
const { notificationData } = require('../utils/notifications')
|
||||
|
||||
class NotificationManager {
|
||||
constructor(db) {
|
||||
@@ -8,6 +9,10 @@ class NotificationManager {
|
||||
this.notificationFailedMap = {}
|
||||
}
|
||||
|
||||
getData() {
|
||||
return notificationData
|
||||
}
|
||||
|
||||
onPodcastEpisodeDownloaded(libraryItem, episode) {
|
||||
if (!this.db.notificationSettings.isUseable) return
|
||||
|
||||
|
||||
Reference in new issue
Block a user