From 40ba90df27b696526a760b215469927f2b51b863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Zanghelini?= Date: Wed, 15 Oct 2025 03:04:48 -0300 Subject: [PATCH] Drop running booru fetch and alert on fetch error --- dots/.config/quickshell/ii/services/Booru.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dots/.config/quickshell/ii/services/Booru.qml b/dots/.config/quickshell/ii/services/Booru.qml index c87efe419..3a13a9bd8 100644 --- a/dots/.config/quickshell/ii/services/Booru.qml +++ b/dots/.config/quickshell/ii/services/Booru.qml @@ -399,6 +399,9 @@ Singleton { } else if (xhr.readyState === XMLHttpRequest.DONE) { console.log("[Booru] Request failed with status: " + xhr.status) + newResponse.message = root.failMessage + root.runningRequests--; + root.responses = [...root.responses, newResponse] } root.responseFinished() }