Skip to content

Commit

Permalink
Merge pull request #953 from owlchester/file-upload-double-file-bug
Browse files Browse the repository at this point in the history
Fixed duplicate gallery images bug
  • Loading branch information
ilestis authored Aug 21, 2024
2 parents 6de7679 + e8a1f7d commit d3226ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/js/gallery/Selection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,9 @@ const download = () => {
if (!imageUrl.value || imageUrl.value == lastImageUrl) {
return
}
lastImageUrl = imageUrl.value
downloading.value = true
urlField.value.disabled = true
lastImageUrl = imageUrl.value
axios.post(props.url, {url: imageUrl.value})
.then(res => {
Expand Down

0 comments on commit d3226ec

Please sign in to comment.