-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frontend implementation of additional feature selection during project creation #1806
Frontend implementation of additional feature selection during project creation #1806
Conversation
β¦feature-selection
@@ -80,7 +80,7 @@ const SelectForm = ({ flag, geojsonFile, customFormFile, setCustomFormFile }) => | |||
}; | |||
useEffect(() => { | |||
if (customFormFile && !customFileValidity) { | |||
dispatch(ValidateCustomForm(`${import.meta.env.VITE_API_URL}/projects/validate-form`, customFormFile)); | |||
dispatch(ValidateCustomForm(`${import.meta.env.VITE_API_URL}/projects/validate-form?debug=true`, customFormFile)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor change: this shouldn't use debug=true
as it doesn't do any actual validation then (it's to return and inspect the form if there are errors).
I will merge anyway then update on the branch π
This was fast! Might as well get it in the release as it doesn't affect any existing functionality π |
What type of PR is this? (check all applicable)
Related Issue
Describe this PR
This PR contains works on additional feature upload on
Map Features
step.Screenshots