Commit 99efd307 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'remove-unused-vulnerability-report' into 'master'

Remove unused vulnerability report

See merge request gitlab-org/gitlab!81936
parents 5b0dbc98 5086c049
......@@ -2,7 +2,6 @@ import Vue from 'vue';
import { DASHBOARD_TYPES } from 'ee/security_dashboard/store/constants';
import { parseBoolean } from '~/lib/utils/common_utils';
import UnavailableState from './components/shared/empty_states/unavailable_state.vue';
import VulnerabilityReport from './components/shared/vulnerability_report.vue';
import apolloProvider from './graphql/provider';
import createRouter from './router';
import createStore from './store';
......@@ -19,7 +18,7 @@ const getVulnerabilityComponent = (dashboardType) => {
case DASHBOARD_TYPES.INSTANCE:
return InstanceVulnerabilityReport;
default:
return VulnerabilityReport;
throw new Error('unknown_dashboard');
}
};
......
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