debian-mirror-gitlab/app/assets/javascripts/pages/admin/application_settings/index.js
2021-02-22 17:27:13 +05:30

14 lines
449 B
JavaScript

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