Compare commits

..

2 Commits

Author SHA1 Message Date
Marco Lanzara
9ee37d8ea1 🚀 Release v1.0.39
- Tipo: patch
- Database backup: database-backups/vigilanzaturni_v1.0.39_20251023_101800.sql.gz
- Data: 2025-10-23 10:18:17
2025-10-23 10:18:17 +00:00
marco370
a829fbf3a9 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
2025-10-23 10:17:48 +00:00
5 changed files with 11 additions and 5 deletions

View File

@ -21,7 +21,7 @@ externalPort = 3001
[[ports]] [[ports]]
localPort = 41295 localPort = 41295
externalPort = 6000 externalPort = 5173
[[ports]] [[ports]]
localPort = 41343 localPort = 41343

View File

@ -37,7 +37,7 @@ type AvailableGuard = {
export default function PlanningMobile() { export default function PlanningMobile() {
const [selectedDate, setSelectedDate] = useState(format(new Date(), "yyyy-MM-dd")); const [selectedDate, setSelectedDate] = useState(format(new Date(), "yyyy-MM-dd"));
const [selectedLocation, setSelectedLocation] = useState<Location>("roccapiemonte"); const [selectedLocation, setSelectedLocation] = useState<Location>("roccapiemonte");
const [selectedGuardId, setSelectedGuardId] = useState<string>(""); const [selectedGuardId, setSelectedGuardId] = useState<string>("all");
// Query siti mobile per location // Query siti mobile per location
const { data: mobileSites, isLoading: sitesLoading } = useQuery<MobileSite[]>({ const { data: mobileSites, isLoading: sitesLoading } = useQuery<MobileSite[]>({
@ -129,7 +129,7 @@ export default function PlanningMobile() {
<SelectValue placeholder="Tutte le guardie" /> <SelectValue placeholder="Tutte le guardie" />
</SelectTrigger> </SelectTrigger>
<SelectContent> <SelectContent>
<SelectItem value="">Tutte le guardie</SelectItem> <SelectItem value="all">Tutte le guardie</SelectItem>
{availableGuards?.map((guard) => ( {availableGuards?.map((guard) => (
<SelectItem key={guard.id} value={guard.id}> <SelectItem key={guard.id} value={guard.id}>
{guard.firstName} {guard.lastName} - #{guard.badgeNumber} ({guard.availableHours}h disponibili) {guard.firstName} {guard.lastName} - #{guard.badgeNumber} ({guard.availableHours}h disponibili)

View File

@ -1,7 +1,13 @@
{ {
"version": "1.0.38", "version": "1.0.39",
"lastUpdate": "2025-10-23T09:53:14.636Z", "lastUpdate": "2025-10-23T10:18:17.289Z",
"changelog": [ "changelog": [
{
"version": "1.0.39",
"date": "2025-10-23",
"type": "patch",
"description": "Deployment automatico v1.0.39"
},
{ {
"version": "1.0.38", "version": "1.0.38",
"date": "2025-10-23", "date": "2025-10-23",