Skip to content

Commit

Permalink
Fixed duplicate gallery images bug
Browse files Browse the repository at this point in the history
  • Loading branch information
spitfire305 committed Aug 20, 2024
1 parent 0022418 commit e8a1f7d
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 e8a1f7d

Please sign in to comment.