debian-mirror-gitlab/app/assets/javascripts/pages/projects/environments/index/index.js

12 lines
296 B
JavaScript
Raw Normal View History

2021-01-03 14:25:43 +05:30
import initEnvironments from '~/environments/';
2021-12-11 22:18:48 +05:30
import initNewEnvironments from '~/environments/new_index';
2018-03-27 19:54:05 +05:30
2021-12-11 22:18:48 +05:30
let el = document.getElementById('environments-list-view');
if (el) {
initEnvironments(el);
} else {
el = document.getElementById('environments-table');
initNewEnvironments(el);
}