Skip to content

Commit

Permalink
Merge pull request #1305 from culturecreates/bugfix/issue-1294-develop
Browse files Browse the repository at this point in the history
Bugfix/issue 1294 develop
  • Loading branch information
AbhishekPAnil authored Sep 6, 2024
2 parents 6f55963 + 2e11ee9 commit e9cf5a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pages/Dashboard/CreateNewPlace/CreateNewPlace.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,11 @@ function CreateNewPlace() {
};
});
}
if (values?.coordinates) {
const coordinates = values.coordinates.split(/[, ]+/);
latitude = coordinates[0] || undefined;
longitude = coordinates[1] || undefined;
}

const getFilteredFieldValue = (values) => {
let filteredValues = {};
Expand Down

0 comments on commit e9cf5a6

Please sign in to comment.