Skip to content

Commit

Permalink
add username to the delete confirmation modal
Browse files Browse the repository at this point in the history
  • Loading branch information
kayra1 committed Aug 1, 2024
1 parent 582b3b9 commit 1fa946d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/users/row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function Row({ id, username, ActionMenuExpanded, setActionMenuExp
const handleDelete = () => {
setConfirmationModalData({
onMouseDownFunc: () => mutationFunc(deleteMutation, { id: id.toString(), authToken: auth.user ? auth.user.authToken : "" }),
warningText: "Deleting a user cannot be undone."
warningText: `Deleting user: "${username}". This action cannot be undone.`
})
}
const handleChangePassword = () => {
Expand Down

0 comments on commit 1fa946d

Please sign in to comment.