From e143aa3f608f12719fc6a773833029fd251edcde Mon Sep 17 00:00:00 2001 From: marco370 <48531002-marco370@users.noreply.replit.com> Date: Thu, 23 Oct 2025 09:44:45 +0000 Subject: [PATCH] Update site management for better shift type selection Modify sites.tsx to set a default location and ensure proper value binding for the shift type select component. Replit-Commit-Author: Agent Replit-Commit-Session-Id: e5565357-90e1-419f-b9a8-6ee8394636df Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/e5565357-90e1-419f-b9a8-6ee8394636df/IcLh7if --- .replit | 4 ---- client/src/pages/sites.tsx | 6 ++++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.replit b/.replit index 2934391..aa839ef 100644 --- a/.replit +++ b/.replit @@ -19,10 +19,6 @@ externalPort = 80 localPort = 33035 externalPort = 3001 -[[ports]] -localPort = 37459 -externalPort = 5173 - [[ports]] localPort = 41295 externalPort = 6000 diff --git a/client/src/pages/sites.tsx b/client/src/pages/sites.tsx index 7e9d102..de7d018 100644 --- a/client/src/pages/sites.tsx +++ b/client/src/pages/sites.tsx @@ -50,6 +50,7 @@ export default function Sites() { name: "", address: "", customerId: undefined, + location: "roccapiemonte", shiftType: "fixed_post", minGuards: 1, requiresArmed: false, @@ -69,6 +70,7 @@ export default function Sites() { name: "", address: "", customerId: undefined, + location: "roccapiemonte", shiftType: "fixed_post", minGuards: 1, requiresArmed: false, @@ -347,7 +349,7 @@ export default function Sites() { render={({ field }) => ( Tipologia Servizio - @@ -633,7 +635,7 @@ export default function Sites() { render={({ field }) => ( Tipologia Servizio -