MonarcAppFO
MonarcAppFO copied to clipboard
[FrontOffice] Recommendations can be linked to the same risk more than once
Describe the bug The same recommendations are linked to the same risks more than once.
To Reproduce To be described.
Expected behavior Recommendations should not be duplicated.
Screenshots

The frontend duplication was fixed by validating if riskId is set to fetch the recommendations-risks data.
The following things to do:
- There is a loading time issue in case of many recommendations linked to risks. As a solution, the linked recommendations can be added to the risk data when we open it for edit.
- The recommendations duplications for the global risks that are presented more than once in the analysis. The second one has duplicated the same recommendation.