From 0371e3eba5c01752db84c48defa9afbdbc88c248 Mon Sep 17 00:00:00 2001 From: Krao Hasanee Date: Fri, 27 Mar 2026 00:55:00 -0400 Subject: [PATCH] Newest version first in history, remove nav section labels Co-Authored-By: Claude Sonnet 4.6 --- src/components/Layout.jsx | 2 -- src/pages/client/RequestDetail.jsx | 2 +- src/pages/team/TaskDetail.jsx | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/Layout.jsx b/src/components/Layout.jsx index 78f47da..270a347 100755 --- a/src/components/Layout.jsx +++ b/src/components/Layout.jsx @@ -5,7 +5,6 @@ import { useAuth } from '../context/AuthContext'; function TeamNav({ onNav }) { return (
-
Main
{[ { to: '/dashboard', label: 'Dashboard' }, { to: '/requests', label: 'Requests' }, @@ -23,7 +22,6 @@ function TeamNav({ onNav }) { function ClientNav({ onNav }) { return (
-
My Work
{[ { to: '/my-dashboard', label: 'Dashboard' }, { to: '/my-projects', label: 'Projects' }, diff --git a/src/pages/client/RequestDetail.jsx b/src/pages/client/RequestDetail.jsx index 1447188..a8f868b 100755 --- a/src/pages/client/RequestDetail.jsx +++ b/src/pages/client/RequestDetail.jsx @@ -312,7 +312,7 @@ export default function RequestDetail() { groups[key].push(sub); return groups; }, {}) - ).map(group => { + ).reverse().map(group => { const primary = group.find(s => s.type !== 'amendment') || group[0]; const amendments = group.filter(s => s.type === 'amendment'); const delivery = primary.delivery; diff --git a/src/pages/team/TaskDetail.jsx b/src/pages/team/TaskDetail.jsx index 5a5c50e..25a5f42 100755 --- a/src/pages/team/TaskDetail.jsx +++ b/src/pages/team/TaskDetail.jsx @@ -347,11 +347,11 @@ export default function TaskDetail() { groups[key].push(sub); return groups; }, {}) - ).map((group, gi, all) => { + ).reverse().map((group, gi, all) => { const primary = group.find(s => s.type !== 'amendment') || group[0]; const amendments = group.filter(s => s.type === 'amendment'); const delivery = primary.delivery; - const isCurrent = gi === all.length - 1; + const isCurrent = gi === 0; return (