Commit 5ea2536e authored by Illya Klymov's avatar Illya Klymov

Merge branch 'create_vulnerability_data_once' into 'master'

Generate vulnerability data hash just once per request

See merge request gitlab-org/gitlab!33970
parents 634a6d35 3369fbdb
......@@ -3,7 +3,8 @@
- breadcrumb_title @vulnerability.id
- page_title @vulnerability.title
- page_description @vulnerability.description
- vulnerability_data = vulnerability_data(@vulnerability, @pipeline)
#js-vulnerability-header{ data: vulnerability_data(@vulnerability, @pipeline) }
#js-vulnerability-details{ data: vulnerability_data(@vulnerability, @pipeline) }
#js-vulnerability-footer{ data: vulnerability_data(@vulnerability, @pipeline) }
#js-vulnerability-header{ data: vulnerability_data }
#js-vulnerability-details{ data: vulnerability_data }
#js-vulnerability-footer{ data: vulnerability_data }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment