Compare commits
4 Commits
5017532439
...
92ac90315a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
92ac90315a | ||
|
|
1c70d1cdc9 | ||
|
|
e9f1c1e136 | ||
|
|
17b1969255 |
4
.replit
4
.replit
@ -19,10 +19,6 @@ externalPort = 80
|
|||||||
localPort = 33035
|
localPort = 33035
|
||||||
externalPort = 3001
|
externalPort = 3001
|
||||||
|
|
||||||
[[ports]]
|
|
||||||
localPort = 33963
|
|
||||||
externalPort = 6000
|
|
||||||
|
|
||||||
[[ports]]
|
[[ports]]
|
||||||
localPort = 41295
|
localPort = 41295
|
||||||
externalPort = 5173
|
externalPort = 5173
|
||||||
|
|||||||
@ -144,11 +144,12 @@ export default function Sites() {
|
|||||||
|
|
||||||
setIsGeocoding(true);
|
setIsGeocoding(true);
|
||||||
try {
|
try {
|
||||||
const result: any = await apiRequest(
|
const response = await apiRequest(
|
||||||
"POST",
|
"POST",
|
||||||
"/api/geocode",
|
"/api/geocode",
|
||||||
{ address }
|
{ address }
|
||||||
);
|
);
|
||||||
|
const result = await response.json();
|
||||||
|
|
||||||
form.setValue("latitude", result.latitude);
|
form.setValue("latitude", result.latitude);
|
||||||
form.setValue("longitude", result.longitude);
|
form.setValue("longitude", result.longitude);
|
||||||
@ -181,11 +182,12 @@ export default function Sites() {
|
|||||||
|
|
||||||
setIsGeocodingEdit(true);
|
setIsGeocodingEdit(true);
|
||||||
try {
|
try {
|
||||||
const result: any = await apiRequest(
|
const response = await apiRequest(
|
||||||
"POST",
|
"POST",
|
||||||
"/api/geocode",
|
"/api/geocode",
|
||||||
{ address }
|
{ address }
|
||||||
);
|
);
|
||||||
|
const result = await response.json();
|
||||||
|
|
||||||
editForm.setValue("latitude", result.latitude);
|
editForm.setValue("latitude", result.latitude);
|
||||||
editForm.setValue("longitude", result.longitude);
|
editForm.setValue("longitude", result.longitude);
|
||||||
@ -219,7 +221,7 @@ export default function Sites() {
|
|||||||
setEditingSite(site);
|
setEditingSite(site);
|
||||||
editForm.reset({
|
editForm.reset({
|
||||||
name: site.name,
|
name: site.name,
|
||||||
address: site.address,
|
address: site.address || "",
|
||||||
latitude: site.latitude || "",
|
latitude: site.latitude || "",
|
||||||
longitude: site.longitude || "",
|
longitude: site.longitude || "",
|
||||||
customerId: site.customerId ?? undefined,
|
customerId: site.customerId ?? undefined,
|
||||||
|
|||||||
Binary file not shown.
BIN
database-backups/vigilanzaturni_v1.0.43_20251023_140453.sql.gz
Normal file
BIN
database-backups/vigilanzaturni_v1.0.43_20251023_140453.sql.gz
Normal file
Binary file not shown.
10
version.json
10
version.json
@ -1,7 +1,13 @@
|
|||||||
{
|
{
|
||||||
"version": "1.0.42",
|
"version": "1.0.43",
|
||||||
"lastUpdate": "2025-10-23T13:51:05.343Z",
|
"lastUpdate": "2025-10-23T14:05:10.759Z",
|
||||||
"changelog": [
|
"changelog": [
|
||||||
|
{
|
||||||
|
"version": "1.0.43",
|
||||||
|
"date": "2025-10-23",
|
||||||
|
"type": "patch",
|
||||||
|
"description": "Deployment automatico v1.0.43"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "1.0.42",
|
"version": "1.0.42",
|
||||||
"date": "2025-10-23",
|
"date": "2025-10-23",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user