Commit 3369fbdb authored by Mehmet Emin INAC's avatar Mehmet Emin INAC

Generate vulnerability data hash just once per request

parent 38332ea9
......@@ -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