Commit 226ca05c authored by Jacques Erasmus's avatar Jacques Erasmus

Merge branch '321775-rename-first-class-init' into 'master'

Rename first_class_init to vulnerability_report_init

See merge request gitlab-org/gitlab!57342
parents 8f86617e a5558624
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