diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 5d002fc68..c2b034a9f 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -498,6 +498,7 @@ "delete_alert": "Delete Alert", "limit_to": "Limit To", "limit_to_projects": "Limit to projects", + "include_children": "Include active children of projects", "limit_to_tags": "Limit to Tags", "alert_created": "Alert created", "alert_deleted": "Alert deleted", diff --git a/src/views/administration/notifications/Alerts.vue b/src/views/administration/notifications/Alerts.vue index 4efe1ec62..f2fe2af6d 100644 --- a/src/views/administration/notifications/Alerts.vue +++ b/src/views/administration/notifications/Alerts.vue @@ -155,6 +155,10 @@ +
+ + {{ $t('admin.include_children') }} +
@@ -209,6 +213,7 @@ uuid: row.uuid, name: row.name, enabled: row.enabled, + notifyChildren: row.notifyChildren, publisherClass: row.publisher.publisherClass, notificationLevel: row.notificationLevel, destination: this.parseDestination(row), @@ -230,6 +235,9 @@ enabled() { this.updateNotificationRule(); }, + notifyChildren() { + this.updateNotificationRule(); + }, notifyOn() { this.updateNotificationRule(); }, @@ -260,6 +268,7 @@ uuid: this.uuid, name: this.name, enabled: this.enabled, + notifyChildren: this.notifyChildren, notificationLevel: this.notificationLevel, publisherConfig: JSON.stringify({ destination: this.destination }), notifyOn: this.notifyOn