v0.11.15 user manager bug fix
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user