v.9.38 bug fixes
This commit is contained in:
@@ -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.37
|
JAMA_VERSION=0.9.38
|
||||||
|
|
||||||
# App port — the host port Docker maps to the container
|
# App port — the host port Docker maps to the container
|
||||||
PORT=3000
|
PORT=3000
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "jama-backend",
|
"name": "jama-backend",
|
||||||
"version": "0.9.37",
|
"version": "0.9.38",
|
||||||
"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.9.37}"
|
VERSION="${1:-0.9.38}"
|
||||||
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.9.37",
|
"version": "0.9.38",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -74,14 +74,22 @@ export default function NavDrawer({ open, onClose, onMessages, onGroupManager, o
|
|||||||
{item(NAV_ICON.messages, 'Messages', onMessages)}
|
{item(NAV_ICON.messages, 'Messages', onMessages)}
|
||||||
{item(NAV_ICON.schedules, 'Schedules', () => {}, true)}
|
{item(NAV_ICON.schedules, 'Schedules', () => {}, true)}
|
||||||
|
|
||||||
|
{/* Admin-only tools */}
|
||||||
{isAdmin && (
|
{isAdmin && (
|
||||||
<>
|
<>
|
||||||
<div className="nav-drawer-section-label admin">Admin</div>
|
<div className="nav-drawer-section-label admin">Admin</div>
|
||||||
{item(NAV_ICON.users, 'User Manager', onUsers)}
|
{item(NAV_ICON.users, 'User Manager', onUsers)}
|
||||||
{features.groupManager && !isMobile && canAccessGroupManager && item(NAV_ICON.groups, 'Group Manager', onGroupManager)}
|
|
||||||
{features.scheduleManager && !isMobile && canAccessScheduleManager && item(NAV_ICON.schedules, 'Schedule Manager', onScheduleManager || (() => {}))}
|
|
||||||
{features.branding && item(NAV_ICON.branding, 'Branding', onBranding)}
|
{features.branding && item(NAV_ICON.branding, 'Branding', onBranding)}
|
||||||
{isAdmin && item(NAV_ICON.settings, 'Settings', onSettings)}
|
{item(NAV_ICON.settings, 'Settings', onSettings)}
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
|
||||||
|
{/* Tools accessible to admins OR designated team groups */}
|
||||||
|
{(features.groupManager || features.scheduleManager) && !isMobile && (canAccessGroupManager || canAccessScheduleManager) && (
|
||||||
|
<>
|
||||||
|
<div className="nav-drawer-section-label admin">Tools</div>
|
||||||
|
{features.groupManager && canAccessGroupManager && item(NAV_ICON.groups, 'Group Manager', onGroupManager)}
|
||||||
|
{features.scheduleManager && canAccessScheduleManager && item(NAV_ICON.schedules, 'Schedule Manager', onScheduleManager || (() => {}))}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user