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)