Commit a5558624 authored by Savas Vedova's avatar Savas Vedova

Rename first_class_init to vulnerability_report_init

parent 67e85882
import initFirstClassSecurityDashboard from 'ee/security_dashboard/first_class_init';
import { DASHBOARD_TYPES } from 'ee/security_dashboard/store/constants';
import vulnerabilityReportInit from 'ee/security_dashboard/vulnerability_report_init';
document.addEventListener('DOMContentLoaded', () => {
initFirstClassSecurityDashboard(
document.getElementById('js-group-vulnerabilities'),
DASHBOARD_TYPES.GROUP,
);
});
vulnerabilityReportInit(document.getElementById('js-group-vulnerabilities'), DASHBOARD_TYPES.GROUP);
import initFirstClassSecurityDashboard from 'ee/security_dashboard/first_class_init';
import { DASHBOARD_TYPES } from 'ee/security_dashboard/store/constants';
import vulnerabilityReportInit from 'ee/security_dashboard/vulnerability_report_init';
initFirstClassSecurityDashboard(
document.getElementById('js-security-report-app'),
DASHBOARD_TYPES.PROJECT,
);
vulnerabilityReportInit(document.getElementById('js-security-report-app'), DASHBOARD_TYPES.PROJECT);
import initFirstClassSecurityDashboard from 'ee/security_dashboard/first_class_init';
import { DASHBOARD_TYPES } from 'ee/security_dashboard/store/constants';
import vulnerabilityReportInit from 'ee/security_dashboard/vulnerability_report_init';
initFirstClassSecurityDashboard(
document.getElementById('js-vulnerabilities'),
DASHBOARD_TYPES.INSTANCE,
);
vulnerabilityReportInit(document.getElementById('js-vulnerabilities'), DASHBOARD_TYPES.INSTANCE);
import initVulnerabilityReport from 'ee/security_dashboard/first_class_init';
import { DASHBOARD_TYPES } from 'ee/security_dashboard/store/constants';
import initVulnerabilityReport from 'ee/security_dashboard/vulnerability_report_init';
import { TEST_HOST } from 'helpers/test_constants';
const EMPTY_DIV = document.createElement('div');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment