Skip to content

Commit

Permalink
fix(Proofs): fix multiple upload workflow. ref #983
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Nov 27, 2024
1 parent 4ae7a71 commit d9ab916
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/ProofInputRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export default {
this.handleProofSelectedList(newProofImageList)
},
proofObjectList(newProofObjectList, oldProofObjectList) { // eslint-disable-line no-unused-vars
// TODO: update to proofList?
this.$emit('proof', newProofObjectList[0])
}
},
Expand Down
3 changes: 2 additions & 1 deletion src/services/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ export default {
formData.append('type', data.type)
if (data.location_id) {
formData.append('location_id', data.location_id ? data.location_id : '')
} else {
}
if (data.location_osm_id && data.location_osm_type) {
formData.append('location_osm_id', data.location_osm_id ? data.location_osm_id : '')
formData.append('location_osm_type', data.location_osm_type ? data.location_osm_type : '')
}
Expand Down

0 comments on commit d9ab916

Please sign in to comment.