Skip to content

Commit

Permalink
fix(Price Validator Assistant): re-crop image on change to update the…
Browse files Browse the repository at this point in the history
… images displayed. ref #1137
  • Loading branch information
raphodn committed Dec 19, 2024
1 parent 1a05446 commit 6924466
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/ProofImageCropped.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ export default {
croppedImage: null
}
},
watch: {
proofImageFilePath() {
this.getImage()
},
boundingBox() {
this.cropImage()
}
},
mounted() {
this.getImage()
},
Expand Down

0 comments on commit 6924466

Please sign in to comment.