![]()
- {["fullName", "username", "email", "password"].map((field) => (
-
-
-
-
- ))}
+ {["fullName", "username", "email"]
+ .concat(isPersonnel ? ["password"] : [])
+ .map((field) => (
+
+
+
+
+ ))}
{/* ✅ SAVE BUTTON ALWAYS VISIBLE */}
{isPersonnel && (
@@ -166,11 +172,11 @@ export default function Profile() {