gitlab-org--gitlab-foss/app/assets/javascripts/pages/admin/application_settings/index.js

16 lines
525 B
JavaScript

import initVariableList from '~/ci_variable_list';
import projectSelect from '~/project_select';
import initSearchSettings from '~/search_settings';
import selfMonitor from '~/self_monitor';
import initSettingsPanels from '~/settings_panels';
document.addEventListener('DOMContentLoaded', () => {
if (gon.features?.ciInstanceVariablesUi) {
initVariableList('js-instance-variables');
}
selfMonitor();
// Initialize expandable settings panels
initSettingsPanels();
projectSelect();
initSearchSettings();
});