From a829fbf3a9eb776d0c3cd5ef3da53bed717ed076 Mon Sep 17 00:00:00 2001 From: marco370 <48531002-marco370@users.noreply.replit.com> Date: Thu, 23 Oct 2025 10:17:48 +0000 Subject: [PATCH] Created a checkpoint Replit-Commit-Author: Agent Replit-Commit-Session-Id: e5565357-90e1-419f-b9a8-6ee8394636df Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/e5565357-90e1-419f-b9a8-6ee8394636df/AXEqh9q --- .replit | 2 +- client/src/pages/planning-mobile.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.replit b/.replit index aa839ef..75d108a 100644 --- a/.replit +++ b/.replit @@ -21,7 +21,7 @@ externalPort = 3001 [[ports]] localPort = 41295 -externalPort = 6000 +externalPort = 5173 [[ports]] localPort = 41343 diff --git a/client/src/pages/planning-mobile.tsx b/client/src/pages/planning-mobile.tsx index 0037be7..7b7d078 100644 --- a/client/src/pages/planning-mobile.tsx +++ b/client/src/pages/planning-mobile.tsx @@ -37,7 +37,7 @@ type AvailableGuard = { export default function PlanningMobile() { const [selectedDate, setSelectedDate] = useState(format(new Date(), "yyyy-MM-dd")); const [selectedLocation, setSelectedLocation] = useState("roccapiemonte"); - const [selectedGuardId, setSelectedGuardId] = useState(""); + const [selectedGuardId, setSelectedGuardId] = useState("all"); // Query siti mobile per location const { data: mobileSites, isLoading: sitesLoading } = useQuery({ @@ -129,7 +129,7 @@ export default function PlanningMobile() { - Tutte le guardie + Tutte le guardie {availableGuards?.map((guard) => ( {guard.firstName} {guard.lastName} - #{guard.badgeNumber} ({guard.availableHours}h disponibili)