Deduplicate state properties
- Related issue: #32041 (closed)
What does this MR do?
This deduplicates a few state properties that were being set on both the root state and the modal's state in vulnerabilities and security_reports stores. Rather than setting those state properties in both places, we can rely on the root state only and pass the properties via the modal's props to preserve the same behavior. This should be less error-prone as we can count on a SSOT for our state properties, and it requires less specs.
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
- [-] Documentation (if required)
-
Code review guidelines - [-] Merge request performance guidelines
-
Style guides - [-] Database guides
-
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. - [-] Tested in all supported browsers
- [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Edited by Paul Gascou-Vaillancourt