Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.js « admin « pages « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3f4e658fc8d70cc74560fa1a0893b1712eb80034 (plain)
1
2
3
4
5
6
7
8
9
10
11
import initAdmin from './admin';
import initAdminStatisticsPanel from '../../admin/statistics_panel/index';
import initVueAlerts from '../../vue_alerts';

document.addEventListener('DOMContentLoaded', initVueAlerts);

document.addEventListener('DOMContentLoaded', () => {
  const statisticsPanelContainer = document.getElementById('js-admin-statistics-container');
  initAdmin();
  initAdminStatisticsPanel(statisticsPanelContainer);
});