v0.11.15 user manager bug fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "jama-backend",
|
"name": "jama-backend",
|
||||||
"version": "0.11.14",
|
"version": "0.11.15",
|
||||||
"description": "TeamChat backend server",
|
"description": "TeamChat backend server",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
2
build.sh
2
build.sh
@@ -13,7 +13,7 @@
|
|||||||
# ─────────────────────────────────────────────────────────────
|
# ─────────────────────────────────────────────────────────────
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
VERSION="${1:-0.11.14}"
|
VERSION="${1:-0.11.15}"
|
||||||
ACTION="${2:-}"
|
ACTION="${2:-}"
|
||||||
REGISTRY="${REGISTRY:-}"
|
REGISTRY="${REGISTRY:-}"
|
||||||
IMAGE_NAME="jama"
|
IMAGE_NAME="jama"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "jama-frontend",
|
"name": "jama-frontend",
|
||||||
"version": "0.11.14",
|
"version": "0.11.15",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -32,6 +32,10 @@ function UserRow({ u, onUpdated }) {
|
|||||||
const [editName, setEditName] = useState(false);
|
const [editName, setEditName] = useState(false);
|
||||||
const [nameVal, setNameVal] = useState(u.name);
|
const [nameVal, setNameVal] = useState(u.name);
|
||||||
const [roleWarning, setRoleWarning] = useState(false);
|
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) => {
|
const handleRole = async (role) => {
|
||||||
if (!role) { setRoleWarning(true); return; }
|
if (!role) { setRoleWarning(true); return; }
|
||||||
|
|||||||
Reference in New Issue
Block a user