debian-mirror-gitlab/app/assets/javascripts/pages/admin/projects/index.js
2018-03-17 18:26:18 +05:30

9 lines
301 B
JavaScript

import ProjectsList from '../../../projects_list';
import NamespaceSelect from '../../../namespace_select';
export default () => {
new ProjectsList(); // eslint-disable-line no-new
document.querySelectorAll('.js-namespace-select')
.forEach(dropdown => new NamespaceSelect({ dropdown }));
};