From f6c28635bc12e66fee953d0661d34974764366e6 Mon Sep 17 00:00:00 2001 From: Marshal Date: Tue, 16 Jun 2026 14:26:17 +0000 Subject: [PATCH] add 'My signature' menu item to user menu --- .../src/components/layout/FreightDashboardHeader.tsx | 10 ++++++++++ .../backoffice/src/pages/dashboard/MyProfilePage.tsx | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/apps/edr-freight-web/backoffice/src/components/layout/FreightDashboardHeader.tsx b/apps/edr-freight-web/backoffice/src/components/layout/FreightDashboardHeader.tsx index d0dd0d04d..cc8074850 100644 --- a/apps/edr-freight-web/backoffice/src/components/layout/FreightDashboardHeader.tsx +++ b/apps/edr-freight-web/backoffice/src/components/layout/FreightDashboardHeader.tsx @@ -2,6 +2,7 @@ import { type ReactNode, useEffect, useRef, useState } from "react"; import { Bell, ChevronDown, + FileSignature, Languages, LogOut, MessageSquare, @@ -209,6 +210,15 @@ const FreightDashboardHeader = ({ > Profile + } + onClick={() => { + setIsUserMenuOpen(false); + navigate("/dashboard/profile#signature"); + }} + > + My signature + } color="red" diff --git a/apps/edr-freight-web/backoffice/src/pages/dashboard/MyProfilePage.tsx b/apps/edr-freight-web/backoffice/src/pages/dashboard/MyProfilePage.tsx index 018e3328b..baf548d92 100644 --- a/apps/edr-freight-web/backoffice/src/pages/dashboard/MyProfilePage.tsx +++ b/apps/edr-freight-web/backoffice/src/pages/dashboard/MyProfilePage.tsx @@ -3,7 +3,9 @@ import { MySignatureCard } from "@/components/profile/MySignatureCard"; export default function MyProfilePage() { return (
- +
+ +
); }