From c8c38f735f96d2ea472ea4ee51034c77ede24258 Mon Sep 17 00:00:00 2001 From: tomasz1986 Date: Sat, 12 Jul 2025 16:08:11 +0200 Subject: [PATCH] fix(gui): show revert buttons only when folder is idle (fixes #10191) (#10212) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently, the Revert Local Changes button for Receive Only folders, and the Delete Unexpected Items button for Receive Encrypted folders buttons are shown even when the folder is already performing other operations. Because of the above, pressing the button seems to have no effect, as its operation can only proceed after the previous operations have completed. This confuses the user, who then may keep trying to press the buttons again and again with no visible result. Therefore, show the two buttons only when the folders are actually idle, without performing other operations at the same time. This change makes them behave similarly to the Override Changes button, which is also only displayed for Send Only folders when they are idle. Signed-off-by: Tomasz WilczyƄski twilczynski@naver.com --- gui/default/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/default/index.html b/gui/default/index.html index 0eac86ee5..bb072f1ea 100644 --- a/gui/default/index.html +++ b/gui/default/index.html @@ -619,10 +619,10 @@ - -