v0.11.17 tool managers bug fix

This commit is contained in:
2026-03-22 12:32:52 -04:00
parent 6a2dc83764
commit c3d20c51a3
4 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

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

View File

@@ -85,8 +85,8 @@ export default function Chat() {
isHostDomain: settings.is_host_domain === 'true',
}));
}).catch(() => {});
api.getMyUserGroups().then(({ groupIds }) => {
setFeatures(prev => ({ ...prev, userGroupMemberships: groupIds || [] }));
api.getMyUserGroups().then(({ userGroups }) => {
setFeatures(prev => ({ ...prev, userGroupMemberships: (userGroups || []).map(g => g.id) }));
}).catch(() => {});
}, []);