Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2b43844c
Commit
2b43844c
authored
Apr 28, 2021
by
Savas Vedova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide default values for injections
- Update specs
parent
6ae690e6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
14 deletions
+6
-14
ee/app/assets/javascripts/security_dashboard/components/vulnerability_report.vue
...ts/security_dashboard/components/vulnerability_report.vue
+6
-7
ee/app/assets/javascripts/security_dashboard/vulnerability_report_init.js
...vascripts/security_dashboard/vulnerability_report_init.js
+0
-1
ee/spec/frontend/security_dashboard/components/vulnerability_report_spec.js
...ecurity_dashboard/components/vulnerability_report_spec.js
+0
-6
No files found.
ee/app/assets/javascripts/security_dashboard/components/vulnerability_report.vue
View file @
2b43844c
...
...
@@ -38,13 +38,12 @@ export default {
VulnerabilitiesCountList
,
},
mixins
:
[
glFeatureFlagsMixin
()],
inject
:
[
'
groupFullPath
'
,
'
dashboardType
'
,
'
dashboardDocumentation
'
,
'
autoFixDocumentation
'
,
'
pipeline
'
,
],
inject
:
{
dashboardType
:
{},
groupFullPath
:
{
default
:
undefined
},
autoFixDocumentation
:
{
default
:
undefined
},
pipeline
:
{
default
:
undefined
},
},
queries
:
{
[
DASHBOARD_TYPES
.
GROUP
]:
groupProjectsQuery
,
[
DASHBOARD_TYPES
.
INSTANCE
]:
instanceProjectsQuery
,
...
...
ee/app/assets/javascripts/security_dashboard/vulnerability_report_init.js
View file @
2b43844c
...
...
@@ -53,7 +53,6 @@ export default (el, dashboardType) => {
}
const
provide
=
{
pipeline
:
undefined
,
dashboardType
,
dashboardDocumentation
,
noVulnerabilitiesSvgPath
,
...
...
ee/spec/frontend/security_dashboard/components/vulnerability_report_spec.js
View file @
2b43844c
...
...
@@ -56,12 +56,6 @@ describe('Vulnerability Report', () => {
mocks
,
propsData
,
provide
:
{
pipeline
:
undefined
,
groupFullPath
:
undefined
,
projectFullPath
:
undefined
,
autoFixDocumentation
:
undefined
,
dashboardDocumentation
:
'
path/to/documentation
'
,
securityDashboardHelpPath
:
'
path/to/project/documentation
'
,
...
provide
,
},
stubs
:
{
SecurityDashboardLayout
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment