From e8a1f7d5c342587bf7d75fcaae1440e12d637383 Mon Sep 17 00:00:00 2001 From: Spitfire Date: Tue, 20 Aug 2024 15:29:19 -0600 Subject: [PATCH] Fixed duplicate gallery images bug --- resources/js/gallery/Selection.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/js/gallery/Selection.vue b/resources/js/gallery/Selection.vue index 79e2254e9..1e1e9d6df 100644 --- a/resources/js/gallery/Selection.vue +++ b/resources/js/gallery/Selection.vue @@ -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 => {