Skip to content

Commit

Permalink
fix(price add): set price location when selecting existing proof with…
Browse files Browse the repository at this point in the history
… location. ref #648
  • Loading branch information
raphodn committed Jul 3, 2024
1 parent 7d0a8d2 commit ea96ad3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/ProofInputRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ export default {
handleRecentProofSelected(selectedProof) {
// update proofForm
this.proofForm.proof_id = selectedProof.id
if (selectedProof.location) {
this.proofForm.location_osm_id = selectedProof.location_osm_id
this.proofForm.location_osm_type = selectedProof.location_osm_type
}
if (selectedProof.date) {
this.proofForm.date = selectedProof.date
}
Expand Down

0 comments on commit ea96ad3

Please sign in to comment.