diff --git a/frontend/src/Settings/Notifications/Notifications/EditNotificationModalContent.js b/frontend/src/Settings/Notifications/Notifications/EditNotificationModalContent.js index 0b993942a..fa24f65a5 100644 --- a/frontend/src/Settings/Notifications/Notifications/EditNotificationModalContent.js +++ b/frontend/src/Settings/Notifications/Notifications/EditNotificationModalContent.js @@ -44,6 +44,7 @@ function EditNotificationModalContent(props) { onRename, onSeriesDelete, onEpisodeFileDelete, + onEpisodeFileDeleteForUpgrade, onHealthIssue, supportsOnGrab, supportsOnDownload, @@ -51,6 +52,7 @@ function EditNotificationModalContent(props) { supportsOnRename, supportsOnSeriesDelete, supportsOnEpisodeFileDelete, + supportsOnEpisodeFileDeleteForUpgrade, supportsOnHealthIssue, includeHealthWarnings, tags, @@ -180,6 +182,23 @@ function EditNotificationModalContent(props) { /> + { + onEpisodeFileDelete.value ? + + On Episode File Delete For Upgrade + + + : + null + } + On Health Issue diff --git a/frontend/src/Settings/Notifications/Notifications/Notification.js b/frontend/src/Settings/Notifications/Notifications/Notification.js index 3460f611c..7b317d313 100644 --- a/frontend/src/Settings/Notifications/Notifications/Notification.js +++ b/frontend/src/Settings/Notifications/Notifications/Notification.js @@ -60,6 +60,7 @@ class Notification extends Component { onRename, onSeriesDelete, onEpisodeFileDelete, + onEpisodeFileDeleteForUpgrade, onHealthIssue, supportsOnGrab, supportsOnDownload, @@ -67,6 +68,7 @@ class Notification extends Component { supportsOnRename, supportsOnSeriesDelete, supportsOnEpisodeFileDelete, + supportsOnEpisodeFileDeleteForUpgrade, supportsOnHealthIssue } = this.props; @@ -136,6 +138,14 @@ class Notification extends Component { null } + { + supportsOnEpisodeFileDeleteForUpgrade && onEpisodeFileDelete && onEpisodeFileDeleteForUpgrade ? + : + null + } + { !onGrab && !onDownload && !onRename && !onHealthIssue && !onSeriesDelete && !onEpisodeFileDelete ?