diff options
author | Robert Speicher <rspeicher@gmail.com> | 2021-01-20 13:34:23 -0600 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2021-01-20 13:34:23 -0600 |
commit | 6438df3a1e0fb944485cebf07976160184697d72 (patch) | |
tree | 00b09bfd170e77ae9391b1a2f5a93ef6839f2597 /app/assets/javascripts/alerts_settings/constants.js | |
parent | 42bcd54d971da7ef2854b896a7b34f4ef8601067 (diff) | |
download | gitlab-ce-6438df3a1e0fb944485cebf07976160184697d72.tar.gz |
Add latest changes from gitlab-org/gitlab@13-8-stable-eev13.8.0-rc42
Diffstat (limited to 'app/assets/javascripts/alerts_settings/constants.js')
-rw-r--r-- | app/assets/javascripts/alerts_settings/constants.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/app/assets/javascripts/alerts_settings/constants.js b/app/assets/javascripts/alerts_settings/constants.js index e30dc2ad553..ecd7c921b2f 100644 --- a/app/assets/javascripts/alerts_settings/constants.js +++ b/app/assets/javascripts/alerts_settings/constants.js @@ -40,22 +40,15 @@ export const i18n = { integration: s__('AlertSettings|Integration'), }; -// TODO: Delete as part of old form removal in 13.6 export const integrationTypes = [ + { value: '', text: s__('AlertSettings|Select integration type') }, { value: 'HTTP', text: s__('AlertSettings|HTTP Endpoint') }, { value: 'PROMETHEUS', text: s__('AlertSettings|External Prometheus') }, - { value: 'OPSGENIE', text: s__('AlertSettings|Opsgenie') }, -]; - -export const integrationTypesNew = [ - { value: '', text: s__('AlertSettings|Select integration type') }, - ...integrationTypes, ]; export const typeSet = { http: 'HTTP', prometheus: 'PROMETHEUS', - opsgenie: 'OPSGENIE', }; export const integrationToDeleteDefault = { id: null, name: '' }; @@ -63,7 +56,6 @@ export const integrationToDeleteDefault = { id: null, name: '' }; export const JSON_VALIDATE_DELAY = 250; export const targetPrometheusUrlPlaceholder = 'http://prometheus.example.com/'; -export const targetOpsgenieUrlPlaceholder = 'https://app.opsgenie.com/alert/list/'; export const sectionHash = 'js-alert-management-settings'; |