Skip to content

Deduplicate state properties

Paul Gascou-Vaillancourt requested to merge 32041-deduplicate-state-props into master

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

Availability and Testing

Edited by Paul Gascou-Vaillancourt

Merge request reports

Loading