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: 792a6eda14e62593a00c277c09bc084a0b8c7dde (plain)
1
2
3
4
5
6
7
8
9
10
11
import initAdminStatisticsPanel from '../../admin/statistics_panel/index';
import initVueAlerts from '../../vue_alerts';
import initAdmin from './admin';

document.addEventListener('DOMContentLoaded', initVueAlerts);

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