Skip to content

Commit

Permalink
Fix latitude and longitude handling in FacilityCreate component (#6934)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashesh3 authored Dec 28, 2023
1 parent 8a9234f commit 36fa6e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Components/Facility/FacilityCreate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ export const FacilityCreate = (props: FacilityProps) => {
? "+91" + data.phone_number
: data.phone_number
: "",
latitude: data ? String(data.latitude) : "",
longitude: data ? String(data.longitude) : "",
latitude: data.latitude ? String(data.latitude) : "",
longitude: data.longitude ? String(data.longitude) : "",
type_b_cylinders: data.type_b_cylinders,
type_c_cylinders: data.type_c_cylinders,
type_d_cylinders: data.type_d_cylinders,
Expand Down

0 comments on commit 36fa6e3

Please sign in to comment.