Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
9 changes: 9 additions & 0 deletions src/views/administration/notifications/Alerts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@
<actionable-list-group-item :add-icon="true" v-on:actionClicked="$root.$emit('bv::show::modal', 'selectProjectModal')"/>
</div>
</b-form-group>
<div v-if="limitToVisible === true">
<c-switch id="isNotifyChildrenEnabled" color="primary" v-model="notifyChildren" label v-bind="labelIcon"/>
{{ $t('admin.include_children') }}
</div>
</b-col>
<b-col sm="6">
<b-form-group id="fieldset-5" :label="this.$t('admin.scope')" label-for="input-5">
Expand Down Expand Up @@ -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),
Expand All @@ -230,6 +235,9 @@
enabled() {
this.updateNotificationRule();
},
notifyChildren() {
this.updateNotificationRule();
},
notifyOn() {
this.updateNotificationRule();
},
Expand Down Expand Up @@ -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
Expand Down