-
- Downloads
Remove router from Pipeline Security Dashboard
This reduces a bit the coupling of the security dashboard's router and store, and [removes the router from the Pipeline Security Dashboard][1]. Now, to sync a security dashboard to its router (as is done for the Group and Project Security Dashboards), the router must be explictly created and bound to the store using the `syncWithRouter` store plugin at store creation. [1]: #32749
Showing
- ee/app/assets/javascripts/pages/projects/security/dashboard/show/index.js 5 additions, 3 deletions...vascripts/pages/projects/security/dashboard/show/index.js
- ee/app/assets/javascripts/security_dashboard/index.js 4 additions, 2 deletionsee/app/assets/javascripts/security_dashboard/index.js
- ee/app/assets/javascripts/security_dashboard/store/index.js 3 additions, 10 deletionsee/app/assets/javascripts/security_dashboard/store/index.js
- ee/app/assets/javascripts/security_dashboard/store/router.js 9 additions, 7 deletionsee/app/assets/javascripts/security_dashboard/store/router.js
- ee/changelogs/unreleased/32749-remove-router-from-pipeline-security-dashboard-ee.yml 5 additions, 0 deletions...749-remove-router-from-pipeline-security-dashboard-ee.yml
- ee/spec/frontend/security_dashboard/store/plugins/sync_with_router_spec.js 17 additions, 13 deletions...security_dashboard/store/plugins/sync_with_router_spec.js
- ee/spec/frontend/vue_shared/security_reports/card_security_reports_app_spec.js 0 additions, 2 deletions...shared/security_reports/card_security_reports_app_spec.js
Please register or sign in to comment