v0.9.32 bugs fixes

This commit is contained in:
2026-03-15 23:44:52 -04:00
parent aed750e4ee
commit 161f4cec3a
6 changed files with 6 additions and 6 deletions

View File

@@ -10,7 +10,7 @@
PROJECT_NAME=jama PROJECT_NAME=jama
# Image version to run (set by build.sh, or use 'latest') # Image version to run (set by build.sh, or use 'latest')
JAMA_VERSION=0.9.31 JAMA_VERSION=0.9.32
# App port — the host port Docker maps to the container # App port — the host port Docker maps to the container
PORT=3000 PORT=3000

View File

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

View File

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

View File

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

View File

@@ -241,7 +241,7 @@ export default function ChatWindow({ group, onBack, onGroupUpdated, onDirectMess
{isDirect ? peerName : group.name} {isDirect ? peerName : group.name}
{group.is_readonly ? <span className="readonly-badge" style={{ marginLeft: 8 }}>read-only</span> : null} {group.is_readonly ? <span className="readonly-badge" style={{ marginLeft: 8 }}>read-only</span> : null}
</div> </div>
{isDirect && isOnline && <div className="chat-header-sub" style={{ color: 'var(--success)' }}>Online</div>} {isDirect && <div className="chat-header-sub">Private message</div>}
{!isDirect && group.type === 'private' && <div className="chat-header-sub">Private group</div>} {!isDirect && group.type === 'private' && <div className="chat-header-sub">Private group</div>}
</div> </div>

View File

@@ -222,7 +222,7 @@ function DirectMessagesTab({ allUserGroups, onRefresh, refreshKey }) {
const handleSave = async () => { const handleSave = async () => {
if (!dmName.trim()) return toast('Name required', 'error'); if (!dmName.trim()) return toast('Name required', 'error');
if (groupIds.size < 2) return toast('Select at least two user groups', 'error'); if (!selected && groupIds.size < 2) return toast('Select at least two user groups', 'error');
setSaving(true); setSaving(true);
try { try {
if (selected) { if (selected) {