We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 81fe064 + fc0ffad commit 1ccfe08Copy full SHA for 1ccfe08
manager_dashboard/manager_dashboard/js/uploadProjects.js
@@ -197,7 +197,12 @@ async function uploadToFirebase() {
197
// get form data
198
mapswipe_import = getFormInput()
199
// upload projectDraft to firebase once image has been uploaded
200
- // if inputGeometries is a TMId, check if it is a valid project, only upload if it is
+
201
+ if (document.getElementById("projectType").value != "footprint"){
202
+ uploadProjectImage(mapswipe_import);
203
+ return;
204
+ }
205
206
var modal = document.getElementById("uploadModal");
207
modal.style.display = "block";
208
var modalValidating = document.getElementById("modalValidating");
0 commit comments