[MR Widget V2] Undo dismiss should clear the dismissal feedback
Summary
Undoing a dismissed finding, then re-opening the modal for the same finding, shows the status as set back to Detected
, but the dismissal card and comment are still shown:
Implementation plan
-
mr_security_reports_widget
handles therevertDismiss
logic. Update that to clear thedismissal_feedback
of the finding object.
Verification plan
-
Go to svedova/security-reports-v2!1 -
Dismiss and undismiss a finding. -
After undismissed, reopening the modal should clear the dismissal comments
Edited by Savas Vedova