feat: Delete unit [FC-0083] (#1773)

* Adds the delete menu item in unit cards.
* Delete a unit with a confirmation modal.
* Restore a component
This commit is contained in:
Chris Chávez
2025-04-10 18:59:10 -05:00
committed by GitHub
parent 04faf54ad8
commit 5df7adffec
11 changed files with 481 additions and 26 deletions

View File

@@ -51,6 +51,7 @@ const DeleteModal = ({
e.stopPropagation();
await onDeleteSubmit();
}}
variant="brand"
label={defaultBtnLabel}
/>
</ActionRow>