From 0e3db3f9d427488e07efd2b16b1efad306032705 Mon Sep 17 00:00:00 2001 From: Tobias Date: Thu, 29 Feb 2024 15:42:22 +0100 Subject: [PATCH] Improve deleteUser confirmation message (#593) Add Info that all devices from user gets deleted --- website/src/pages/admin/AllDevices.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/pages/admin/AllDevices.tsx b/website/src/pages/admin/AllDevices.tsx index 44050fab..cafd6db8 100644 --- a/website/src/pages/admin/AllDevices.tsx +++ b/website/src/pages/admin/AllDevices.tsx @@ -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, });