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
7e6135e8
Commit
7e6135e8
authored
Dec 16, 2019
by
mo khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move dependencies/show to dependencies/index
* Remove the extra ".json" from the download endpoint
parent
9ae2ab3a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
ee/app/assets/javascripts/dependencies/store/modules/list/getters.js
...ts/javascripts/dependencies/store/modules/list/getters.js
+2
-1
ee/app/assets/javascripts/pages/projects/dependencies/index/index.js
...ts/javascripts/pages/projects/dependencies/index/index.js
+0
-0
ee/app/views/layouts/nav/sidebar/_project_security_link.html.haml
...iews/layouts/nav/sidebar/_project_security_link.html.haml
+1
-1
No files found.
ee/app/assets/javascripts/dependencies/store/modules/list/getters.js
View file @
7e6135e8
...
...
@@ -9,4 +9,5 @@ export const isJobFailed = state =>
[
REPORT_STATUS
.
jobFailed
,
REPORT_STATUS
.
noDependencies
].
includes
(
state
.
reportInfo
.
status
);
export
const
isIncomplete
=
state
=>
state
.
reportInfo
.
status
===
REPORT_STATUS
.
incomplete
;
export
const
downloadEndpoint
=
({
endpoint
})
=>
`
${
endpoint
}
.json`
;
export
const
downloadEndpoint
=
({
endpoint
})
=>
endpoint
.
endsWith
(
'
.json
'
)
?
endpoint
:
`
${
endpoint
}
.json`
;
ee/app/assets/javascripts/pages/projects/dependencies/
show
/index.js
→
ee/app/assets/javascripts/pages/projects/dependencies/
index
/index.js
View file @
7e6135e8
File moved
ee/app/views/layouts/nav/sidebar/_project_security_link.html.haml
View file @
7e6135e8
...
...
@@ -24,7 +24,7 @@
%span
=
_
(
'Security Dashboard'
)
-
if
project_nav_tab?
(
:dependencies
)
=
nav_link
(
path:
'projects/dependencies#
show
'
)
do
=
nav_link
(
path:
'projects/dependencies#
index
'
)
do
=
link_to
project_dependencies_path
(
@project
),
title:
_
(
'Dependency List'
),
data:
{
qa_selector:
'dependency_list_link'
}
do
%span
=
_
(
'Dependency List'
)
...
...
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