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
47d340be
Commit
47d340be
authored
Aug 25, 2020
by
Kev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename main.vue to vulnerability.vue
parent
3faedfb3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
ee/app/assets/javascripts/pages/projects/security/vulnerabilities/show/index.js
...pts/pages/projects/security/vulnerabilities/show/index.js
+1
-1
ee/app/assets/javascripts/vulnerabilities/components/vulnerability.vue
.../javascripts/vulnerabilities/components/vulnerability.vue
+0
-3
ee/spec/frontend/vulnerabilities/vulnerability_spec.js
ee/spec/frontend/vulnerabilities/vulnerability_spec.js
+1
-1
No files found.
ee/app/assets/javascripts/pages/projects/security/vulnerabilities/show/index.js
View file @
47d340be
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
MainApp
from
'
ee/vulnerabilities/components/
main
.vue
'
;
import
MainApp
from
'
ee/vulnerabilities/components/
vulnerability
.vue
'
;
function
createMainApp
()
{
function
createMainApp
()
{
const
el
=
document
.
getElementById
(
'
js-vulnerability-main
'
);
const
el
=
document
.
getElementById
(
'
js-vulnerability-main
'
);
...
...
ee/app/assets/javascripts/vulnerabilities/components/
main
.vue
→
ee/app/assets/javascripts/vulnerabilities/components/
vulnerability
.vue
View file @
47d340be
...
@@ -6,9 +6,6 @@ import VulnerabilityFooter from './footer.vue';
...
@@ -6,9 +6,6 @@ import VulnerabilityFooter from './footer.vue';
import
{
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
import
{
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
export
default
{
export
default
{
// eslint-disable-next-line @gitlab/require-i18n-strings
name
:
'
Vulnerability
'
,
components
:
{
VulnerabilityHeader
,
VulnerabilityDetails
,
VulnerabilityFooter
},
components
:
{
VulnerabilityHeader
,
VulnerabilityDetails
,
VulnerabilityFooter
},
props
:
{
props
:
{
...
...
ee/spec/frontend/vulnerabilities/
main
_spec.js
→
ee/spec/frontend/vulnerabilities/
vulnerability
_spec.js
View file @
47d340be
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
Main
from
'
ee/vulnerabilities/components/
main
.vue
'
;
import
Main
from
'
ee/vulnerabilities/components/
vulnerability
.vue
'
;
import
Header
from
'
ee/vulnerabilities/components/header.vue
'
;
import
Header
from
'
ee/vulnerabilities/components/header.vue
'
;
import
Details
from
'
ee/vulnerabilities/components/details.vue
'
;
import
Details
from
'
ee/vulnerabilities/components/details.vue
'
;
import
Footer
from
'
ee/vulnerabilities/components/footer.vue
'
;
import
Footer
from
'
ee/vulnerabilities/components/footer.vue
'
;
...
...
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