diff options
Diffstat (limited to 'app/assets/javascripts/pages/projects/settings/operations')
-rw-r--r-- | app/assets/javascripts/pages/projects/settings/operations/show/index.js | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/app/assets/javascripts/pages/projects/settings/operations/show/index.js b/app/assets/javascripts/pages/projects/settings/operations/show/index.js index 1b9ec44ed4a..153ccffd472 100644 --- a/app/assets/javascripts/pages/projects/settings/operations/show/index.js +++ b/app/assets/javascripts/pages/projects/settings/operations/show/index.js @@ -5,13 +5,11 @@ import mountGrafanaIntegration from '~/grafana_integration'; import initSettingsPanels from '~/settings_panels'; import initIncidentsSettings from '~/incidents_settings'; -document.addEventListener('DOMContentLoaded', () => { - initIncidentsSettings(); - mountErrorTrackingForm(); - mountOperationSettings(); - mountGrafanaIntegration(); - if (!IS_EE) { - initSettingsPanels(); - } - mountAlertsSettings(document.querySelector('.js-alerts-settings')); -}); +initIncidentsSettings(); +mountErrorTrackingForm(); +mountOperationSettings(); +mountGrafanaIntegration(); +if (!IS_EE) { + initSettingsPanels(); +} +mountAlertsSettings(document.querySelector('.js-alerts-settings')); |