diff --git a/front/admin.js b/front/admin.js index af32166..c81229a 100644 --- a/front/admin.js +++ b/front/admin.js @@ -192,6 +192,7 @@ function PeerList() { } self.delUser = async () => { + console.log(self.userToDelete()) user = await self.users().find((u)=>u.name===self.userToDelete()) console.log(self.users().find((u)=>u.name===self.userToDelete())) if (confirm(`Are you sure you want to delete ${user.name()}?`)) {