From 2850b3a46c0809669deeb2237039a09666ad34fc Mon Sep 17 00:00:00 2001 From: RealCharlesChia <161665317+RealCharlesChia@users.noreply.github.com> Date: Thu, 23 Apr 2026 17:02:25 +0800 Subject: [PATCH] fix(gui): fallback to folder ID when label is empty in remove dialog (#10657) ## Summary Fixes issue #10458: When removing a folder without a Folder Label, the confirmation dialog now shows the folder ID instead of an empty string. ### Before > Are you sure you want to remove folder **?** ### After > Are you sure you want to remove folder **dnjdr-hssze**? ### Changes Modified `gui/default/syncthing/folder/removeFolderDialogView.html`: ```html
```
### Testing
1. Create a folder without a label
2. Open the folder edit dialog
3. Click remove
4. Verify the confirmation dialog shows the folder ID instead of blank
Fixes #10458
Signed-off-by: RealCharlesChia <161665317+RealCharlesChia@users.noreply.github.com>
---
gui/default/syncthing/folder/removeFolderDialogView.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/default/syncthing/folder/removeFolderDialogView.html b/gui/default/syncthing/folder/removeFolderDialogView.html
index 5d2eb2efd..f516811bd 100644
--- a/gui/default/syncthing/folder/removeFolderDialogView.html
+++ b/gui/default/syncthing/folder/removeFolderDialogView.html
@@ -1,6 +1,6 @@
+
Are you sure you want to remove folder {%label%}?