v0.11.18 user avatar upload fix

This commit is contained in:
2026-03-22 12:43:34 -04:00
parent c3d20c51a3
commit bddfcaac7e
4 changed files with 6 additions and 4 deletions

View File

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

View File

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

View File

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

View File

@@ -83,7 +83,9 @@ export default function ProfileModal({ onClose }) {
cursor: 'pointer', fontSize: 12
}}>
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"/><circle cx="12" cy="13" r="4"/></svg>
<input type="file" accept="image/*" style={{ display: 'none' }} onChange={handleAvatarUpload} />
<input type="file" accept="image/*"
style={{ opacity: 0, position: 'absolute', width: '100%', height: '100%', top: 0, left: 0, cursor: 'pointer' }}
onChange={handleAvatarUpload} />
</label>
</div>
<div>