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

@@ -1,6 +1,6 @@
{
"name": "jama-backend",
"version": "0.11.14",
"version": "0.11.15",
"description": "TeamChat backend server",
"main": "src/index.js",
"scripts": {

View File

@@ -13,7 +13,7 @@
# ─────────────────────────────────────────────────────────────
set -euo pipefail
VERSION="${1:-0.11.14}"
VERSION="${1:-0.11.15}"
ACTION="${2:-}"
REGISTRY="${REGISTRY:-}"
IMAGE_NAME="jama"

View File

@@ -1,6 +1,6 @@
{
"name": "jama-frontend",
"version": "0.11.14",
"version": "0.11.15",
"private": true,
"scripts": {
"dev": "vite",

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; }