Skip to content

Move BASE_FILTERS from filters/constants to security_dashboard/helpers

Daniel Tian requested to merge 356318-clean-up-filter-constants into master

What does this MR do and why?

This is a small clean-up MR to move the BASE_FILTERS object from filters/constants.js to the only place that uses them, security_dashboard/helpers.js. This simplifies the code by keeping the creation of the objects in security_dashboard/helpers.js in just one file instead of splitting it across two.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #356318 (closed)

Merge request reports

Loading