gitlab-org--gitlab-foss/app/assets/javascripts/environments/environments_bundle.js

13 lines
309 B
JavaScript

import EnvironmentsComponent from './components/environment';
$(() => {
window.gl = window.gl || {};
if (gl.EnvironmentsListApp) {
gl.EnvironmentsListApp.$destroy(true);
}
gl.EnvironmentsListApp = new EnvironmentsComponent({
el: document.querySelector('#environments-list-view'),
});
});