Move translations mapping to a helper
This extracts the code that maps scanner names to their translations into a dedicated helper.
显示
- app/assets/javascripts/security_configuration/utils.js 11 个添加, 0 个删除app/assets/javascripts/security_configuration/utils.js
- ee/app/assets/javascripts/security_dashboard/components/project/project_vulnerabilities.vue 4 个添加, 5 个删除..._dashboard/components/project/project_vulnerabilities.vue
- ee/app/assets/javascripts/security_dashboard/components/project/project_vulnerability_report.vue 4 个添加, 5 个删除...board/components/project/project_vulnerability_report.vue
- spec/frontend/security_configuration/utils_spec.js 109 个添加, 90 个删除spec/frontend/security_configuration/utils_spec.js
想要评论请 注册 或 登录