diff --git a/frontend/src/Settings/Notifications/Notifications/Notification.js b/frontend/src/Settings/Notifications/Notifications/Notification.js index 1331a7c8b..66021fd0d 100644 --- a/frontend/src/Settings/Notifications/Notifications/Notification.js +++ b/frontend/src/Settings/Notifications/Notifications/Notification.js @@ -57,9 +57,11 @@ class Notification extends Component { name, onGrab, onHealthIssue, + onHealthRestored, onApplicationUpdate, supportsOnGrab, supportsOnHealthIssue, + supportsOnHealthRestored, supportsOnApplicationUpdate } = this.props; @@ -74,17 +76,27 @@ class Notification extends Component { { - supportsOnGrab && onGrab && + supportsOnGrab && onGrab ? + : + null } { - supportsOnHealthIssue && onHealthIssue && + supportsOnHealthIssue && onHealthIssue ? + : + null + } + + { + supportsOnHealthRestored && onHealthRestored ? + : + null } { @@ -96,7 +108,7 @@ class Notification extends Component { } { - !onGrab && !onHealthIssue && !onApplicationUpdate ? + !onGrab && !onHealthIssue && !onHealthRestored && !onApplicationUpdate ?