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:
@@ -51,6 +51,7 @@ const DeleteModal = ({
|
||||
e.stopPropagation();
|
||||
await onDeleteSubmit();
|
||||
}}
|
||||
variant="brand"
|
||||
label={defaultBtnLabel}
|
||||
/>
|
||||
</ActionRow>
|
||||
|
||||
Reference in New Issue
Block a user