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 { ...@@ -27,10 +27,6 @@ export default {
DashboardNotConfigured, DashboardNotConfigured,
}, },
props: { props: {
vulnerableProjectsEndpoint: {
type: String,
required: true,
},
vulnerabilitiesExportEndpoint: { vulnerabilitiesExportEndpoint: {
type: String, type: String,
required: true, required: true,
......
...@@ -17,7 +17,6 @@ describe('First Class Instance Dashboard Component', () => { ...@@ -17,7 +17,6 @@ describe('First Class Instance Dashboard Component', () => {
$apollo: { queries: { projects: { loading } } }, $apollo: { queries: { projects: { loading } } },
}); });
const vulnerableProjectsEndpoint = '/vulnerable/projects';
const vulnerabilitiesExportEndpoint = '/vulnerabilities/exports'; const vulnerabilitiesExportEndpoint = '/vulnerabilities/exports';
const findInstanceVulnerabilities = () => wrapper.find(FirstClassInstanceVulnerabilities); const findInstanceVulnerabilities = () => wrapper.find(FirstClassInstanceVulnerabilities);
...@@ -35,7 +34,6 @@ describe('First Class Instance Dashboard Component', () => { ...@@ -35,7 +34,6 @@ describe('First Class Instance Dashboard Component', () => {
}, },
mocks, mocks,
propsData: { propsData: {
vulnerableProjectsEndpoint,
vulnerabilitiesExportEndpoint, vulnerabilitiesExportEndpoint,
}, },
stubs: { 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