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
Hide 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 {
...
@@ -38,13 +38,12 @@ export default {
VulnerabilitiesCountList
,
VulnerabilitiesCountList
,
},
},
mixins
:
[
glFeatureFlagsMixin
()],
mixins
:
[
glFeatureFlagsMixin
()],
inject
:
[
inject
:
{
'
groupFullPath
'
,
dashboardType
:
{},
'
dashboardType
'
,
groupFullPath
:
{
default
:
undefined
},
'
dashboardDocumentation
'
,
autoFixDocumentation
:
{
default
:
undefined
},
'
autoFixDocumentation
'
,
pipeline
:
{
default
:
undefined
},
'
pipeline
'
,
},
],
queries
:
{
queries
:
{
[
DASHBOARD_TYPES
.
GROUP
]:
groupProjectsQuery
,
[
DASHBOARD_TYPES
.
GROUP
]:
groupProjectsQuery
,
[
DASHBOARD_TYPES
.
INSTANCE
]:
instanceProjectsQuery
,
[
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) => {
...
@@ -53,7 +53,6 @@ export default (el, dashboardType) => {
}
}
const
provide
=
{
const
provide
=
{
pipeline
:
undefined
,
dashboardType
,
dashboardType
,
dashboardDocumentation
,
dashboardDocumentation
,
noVulnerabilitiesSvgPath
,
noVulnerabilitiesSvgPath
,
...
...
ee/spec/frontend/security_dashboard/components/vulnerability_report_spec.js
View file @
2b43844c
...
@@ -56,12 +56,6 @@ describe('Vulnerability Report', () => {
...
@@ -56,12 +56,6 @@ describe('Vulnerability Report', () => {
mocks
,
mocks
,
propsData
,
propsData
,
provide
:
{
provide
:
{
pipeline
:
undefined
,
groupFullPath
:
undefined
,
projectFullPath
:
undefined
,
autoFixDocumentation
:
undefined
,
dashboardDocumentation
:
'
path/to/documentation
'
,
securityDashboardHelpPath
:
'
path/to/project/documentation
'
,
...
provide
,
...
provide
,
},
},
stubs
:
{
SecurityDashboardLayout
},
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