- Fix shipping line mapping to use ID instead of name in EditBookingPage and NewBookingPage

This commit is contained in:
marshal
2026-06-19 01:07:05 +03:00
parent 1a3d85e46a
commit 72b63c319e
4 changed files with 24 additions and 22 deletions

View File

@@ -6,7 +6,7 @@ import {
useMemo,
useState,
} from "react";
import { ChevronDown, Train } from "lucide-react";
import { ChevronDown } from "lucide-react";
import { Box, Stack, Text } from "@mantine/core";
import type { SidebarItem, SidebarSection } from "./types";
@@ -226,8 +226,10 @@ const FreightSidebar = ({
return (
<Box component="aside" className="fsb-aside">
<div className="fsb-brand">
<div className="fsb-logo">
<Train size={23} color="white" strokeWidth={2.1} />
<div className="">
<img src="assets/edr-logo.png" alt="EDR Freight" className="h-7 w-auto brightness-0 invert sm:h-9" />
{/* <Train size={23} color="white" strokeWidth={2.1} /> */}
</div>
<Stack gap={1} style={{ minWidth: 0, position: "relative", zIndex: 1 }}>
<Text