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
30b6f732
Commit
30b6f732
authored
Aug 07, 2020
by
Alan (Maciej) Paruszewski
Committed by
charlie ablett
Aug 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix problem that vulnerability list is not loaded
parent
7af7c7dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/app/graphql/resolvers/vulnerabilities/issue_links_resolver.rb
...graphql/resolvers/vulnerabilities/issue_links_resolver.rb
+2
-2
No files found.
ee/app/graphql/resolvers/vulnerabilities/issue_links_resolver.rb
View file @
30b6f732
...
@@ -9,7 +9,7 @@ module Resolvers
...
@@ -9,7 +9,7 @@ module Resolvers
required:
false
,
required:
false
,
description:
'Filter issue links by link type'
description:
'Filter issue links by link type'
delegate
:issue_links
,
to: :object
,
private:
true
delegate
:issue_links
,
:created_issue_links
,
to: :object
,
private:
true
def
resolve
(
link_type:
nil
,
**
)
def
resolve
(
link_type:
nil
,
**
)
issue_links_by_link_type
(
link_type
)
issue_links_by_link_type
(
link_type
)
...
@@ -18,7 +18,7 @@ module Resolvers
...
@@ -18,7 +18,7 @@ module Resolvers
private
private
def
issue_links_by_link_type
(
link_type
)
def
issue_links_by_link_type
(
link_type
)
case
link_type
.
to_s
case
link_type
.
to_s
.
downcase
when
Types
::
Vulnerability
::
IssueLinkTypeEnum
.
enum
[
'created'
]
when
Types
::
Vulnerability
::
IssueLinkTypeEnum
.
enum
[
'created'
]
created_issue_links
created_issue_links
else
else
...
...
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