Commit a4a9245b authored by Alexander Turinske's avatar Alexander Turinske

Remove unused required prop in a component

- fixes console error from a required prop not being passed in
- the prop was added, but never used
parent 0d013cc9
......@@ -27,10 +27,6 @@ export default {
DashboardNotConfigured,
},
props: {
vulnerableProjectsEndpoint: {
type: String,
required: true,
},
vulnerabilitiesExportEndpoint: {
type: String,
required: true,
......
......@@ -17,7 +17,6 @@ describe('First Class Instance Dashboard Component', () => {
$apollo: { queries: { projects: { loading } } },
});
const vulnerableProjectsEndpoint = '/vulnerable/projects';
const vulnerabilitiesExportEndpoint = '/vulnerabilities/exports';
const findInstanceVulnerabilities = () => wrapper.find(FirstClassInstanceVulnerabilities);
......@@ -35,7 +34,6 @@ describe('First Class Instance Dashboard Component', () => {
},
mocks,
propsData: {
vulnerableProjectsEndpoint,
vulnerabilitiesExportEndpoint,
},
stubs: {
......
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