mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-03-28 17:42:45 +01:00
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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'
|
||||
);
|
||||
}
|
||||
|
||||
@@ -346,9 +346,9 @@
|
||||
<input class="form-check-input" type="checkbox" id="dmAutoRetryToggle" checked>
|
||||
<label class="form-check-label small" for="dmAutoRetryToggle">Auto Retry</label>
|
||||
</div>
|
||||
<div class="form-check form-switch" title="No Flood Fallback: never auto-reset path to FLOOD">
|
||||
<div class="form-check form-switch" title="Keep path: don't auto-reset to FLOOD after failed retries">
|
||||
<input class="form-check-input" type="checkbox" id="dmNoAutoFloodToggle">
|
||||
<label class="form-check-label small" for="dmNoAutoFloodToggle">No Flood</label>
|
||||
<label class="form-check-label small" for="dmNoAutoFloodToggle">Keep path</label>
|
||||
</div>
|
||||
</div>
|
||||
<button type="button" class="btn btn-secondary btn-sm" data-bs-dismiss="modal">Close</button>
|
||||
|
||||
Reference in New Issue
Block a user