Update delete compliance framework to support deleting multiple frameworks in the UI
The following discussion from !54219 (merged) should be addressed:
-
@jiaan started a discussion: Issue (non-blocking): This doesn't support setting the loading state on multiple list items.
🤦 I'll create a follow-up issue to resolve this visual bug.
Proposal
- Replace
deletingFramework
with an array of frameworks being deleted - Push onto the array when deleting
- Filter out of the array when deleted || errror
Edited by Jiaan Louw