import EnvironmentsFolderComponent from './environments_folder_view';

$(() => {
  window.gl = window.gl || {};

  if (gl.EnvironmentsListFolderApp) {
    gl.EnvironmentsListFolderApp.$destroy(true);
  }

  gl.EnvironmentsListFolderApp = new EnvironmentsFolderComponent({
    el: document.querySelector('#environments-folder-list-view'),
  });
});
