v0.11.15 user manager bug fix

This commit is contained in:
2026-03-22 11:18:07 -04:00
parent 8a2ca50032
commit aef1ef90fe
4 changed files with 7 additions and 3 deletions

View File

@@ -32,6 +32,10 @@ function UserRow({ u, onUpdated }) {
const [editName, setEditName] = useState(false);
const [nameVal, setNameVal] = useState(u.name);
const [roleWarning, setRoleWarning] = useState(false);
// onIF/onIB are no-ops here — UserRow doesn't have access to the page-level
// inputFocused state. The mobile footer is controlled by the parent page only.
const onIF = () => {};
const onIB = () => {};
const handleRole = async (role) => {
if (!role) { setRoleWarning(true); return; }