Make sure framework selection is updated

What does this MR do and why?

The code changes are related to a component called "Framework Selection Box" in the Compliance Dashboard. The main change is in the way selected frameworks are handled. Previously, the component had a currentSelectedFrameworks property that was initialized with the selected frameworks from the parent component. Now, it initializes this property as an empty array and updates it whenever the selected property changes. This change ensures that the component always has the most up-to-date list of selected frameworks. Additionally, the component now emits the selected frameworks when they are changed, which allows the parent component to respond to these changes.-->

Make sure framework selection is updated

Fix bug in projects report

Changelog: fixed

References

Please include cross links to any resources that are relevant to this MR This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

CURRENT BEHAVIOUR: Screen_Recording_2024-10-25_at_16.16.20

How to set up and validate locally

  1. Make sure you have at admin rights and group with an Ultimate subscription
  2. Go to Compliance Center project report
  3. Try removing framework from project via close button on the framework badge
  4. Make sure that the selection in the selct-box with frameworks updated correspondingly

Related to #500569 (closed)

Merge request reports

Loading