From 343b6f40a89d999df65cbea58316aa41f5bc42ca Mon Sep 17 00:00:00 2001 From: MarekWo Date: Mon, 23 Mar 2026 21:12:31 +0100 Subject: [PATCH] fix(ui): rename 'No Flood' toggle to 'Keep path' 'No Flood' was confusing next to the 'Reset to FLOOD' button. 'Keep path' better describes the behavior: don't auto-reset the path to FLOOD after failed direct retries. Co-Authored-By: Claude Opus 4.6 --- app/static/js/dm.js | 2 +- app/templates/dm.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/static/js/dm.js b/app/static/js/dm.js index 469d855..117d9ba 100644 --- a/app/static/js/dm.js +++ b/app/static/js/dm.js @@ -2336,7 +2336,7 @@ async function loadNoAutoFloodToggle(pubkey) { const data = await response.json(); if (data.success) { showNotification( - data.no_auto_flood ? 'No Flood Fallback enabled' : 'No Flood Fallback disabled', + data.no_auto_flood ? 'Keep path enabled' : 'Keep path disabled', 'info' ); } diff --git a/app/templates/dm.html b/app/templates/dm.html index a23ba4a..78c962e 100644 --- a/app/templates/dm.html +++ b/app/templates/dm.html @@ -346,9 +346,9 @@ -
+
- +