File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
views/administration/notifications Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 282
282
"templates" : " Templates" ,
283
283
"test_notification_queued" : " A test notification has been queued" ,
284
284
"token" : " Token" ,
285
- "trigger_notifications_on_severities" : " Trigger notifications on severities" ,
285
+ "trigger_notifications_on_severities" : " Trigger notifications on CVE- severities" ,
286
286
"trivy" : " Trivy" ,
287
287
"url" : " URL" ,
288
288
"user_created" : " User created" ,
Original file line number Diff line number Diff line change @@ -232,7 +232,8 @@ export default {
232
232
</b-form-checkbox-group>
233
233
</div>
234
234
<div style="text-align:left">
235
- <b-form-group v-if="this.scope === 'PORTFOLIO'" id="fieldset-7" :label="this.$t('admin.trigger_notifications_on_severities')" label-for="input-7">
235
+ <b-form-group v-if="this.scope === 'PORTFOLIO' && (notifyOn.includes('NEW_VULNERABILITY') || notifyOn.includes('NEW_VULNERABLE_DEPENDENCY'))"
236
+ id="fieldset-7" :label="this.$t('admin.notification_severity')" label-for="input-7">
236
237
<div class="list-group">
237
238
<b-form-checkbox-group id="checkbox-group-severities" v-model="notifySeverities">
238
239
<div class="list-group-item"><b-form-checkbox value="LOW">LOW_SEVERITY</b-form-checkbox></div>
You can’t perform that action at this time.
0 commit comments