When creating a new user it asks for all information (Phone number, email address, name and role) instead of just name and role

This commit is contained in:
NPS Agent
2026-05-13 10:47:44 +09:30
parent fd84caef63
commit 66545db312
4 changed files with 21 additions and 2 deletions
+2
View File
@@ -374,6 +374,8 @@ function App() {
id,
name: u.name,
role: u.role,
email: u.email,
phone: u.phone,
hue: Math.floor(Math.random() * 360),
initials: u.name.split(' ').map(s=>s[0]).join('').slice(0,2).toUpperCase(),
account_type: u.account_type,