✨ Add deletion for registration tokens
This commit is contained in:
@@ -68,7 +68,15 @@ const ManageUserInvitesPage = () => {
|
||||
)}
|
||||
</td>
|
||||
<td>
|
||||
<ActionIcon onClick={() => {}} color="red" variant="light">
|
||||
<ActionIcon onClick={() => {
|
||||
modals.openContextModal({
|
||||
modal: 'deleteRegistrationTokenModal',
|
||||
title: <Text weight="bold">Delete registration token</Text>,
|
||||
innerProps: {
|
||||
tokenId: token.id,
|
||||
}
|
||||
})
|
||||
}} color="red" variant="light">
|
||||
<IconTrash size="1rem" />
|
||||
</ActionIcon>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user