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 (