Skip to content

Commit

Permalink
Improve deleteUser confirmation message (#593)
Browse files Browse the repository at this point in the history
Add Info that all devices from user gets deleted
  • Loading branch information
T0biii authored Feb 29, 2024
1 parent 94a8a55 commit 0e3db3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/pages/admin/AllDevices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const AllDevices = observer(class AllDevices extends React.Component {
});

deleteUser = async (user: User.AsObject) => {
if (await confirm('Are you sure you want to delete ' + user.name + '?')) {
if (await confirm('Are you sure you want to delete all devices from ' + user.name + '?')) {
await grpc.users.deleteUser({
name: user.name,
});
Expand Down

0 comments on commit 0e3db3f

Please sign in to comment.