From 98e4a4a340c1dd50a4cc5d2f19fc67f1016d502b Mon Sep 17 00:00:00 2001 From: 3dtours Date: Wed, 17 Jun 2026 17:39:53 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20l=E1=BB=97i=20kh=C3=B4ng=20xu=E1=BA=A5t?= =?UTF-8?q?=20hi=E1=BB=87n=20n=C3=BAt=20s=E1=BB=ADa=20cho=20=C4=91i?= =?UTF-8?q?=E1=BB=83m=20b=E1=BA=AFt=20=C4=91=E1=BA=A7u=20v=C3=A0=20=C4=91i?= =?UTF-8?q?=E1=BB=83m=20k=E1=BA=BFt=20th=C3=BAc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/ItineraryTimeline.tsx | 2 +- frontend/src/pages/TourDetailPage.tsx | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/ItineraryTimeline.tsx b/frontend/src/components/ItineraryTimeline.tsx index 1d4d6ed..d99315e 100644 --- a/frontend/src/components/ItineraryTimeline.tsx +++ b/frontend/src/components/ItineraryTimeline.tsx @@ -460,7 +460,7 @@ export const ItineraryTimeline = ({ Thực tế: {format(parseISO(location.actualStart), 'HH:mm')} )} - {canEdit && !isStartPoint && !isEndPoint && ( // Only show edit/delete if canEdit + {canEdit && ( // Allow editing and deleting of all locations if user has edit permissions