debian-mirror-gitlab/app/assets/javascripts/pages/admin/services/edit/index.js
2020-04-25 10:58:03 +05:30

9 lines
407 B
JavaScript

import IntegrationSettingsForm from '~/integrations/integration_settings_form';
import initAlertsSettings from '~/alerts_service_settings';
document.addEventListener('DOMContentLoaded', () => {
const integrationSettingsForm = new IntegrationSettingsForm('.js-integration-settings-form');
integrationSettingsForm.init();
initAlertsSettings(document.querySelector('.js-alerts-service-settings'));
});