WebUI: Fix incorrectly backported code

PR #21248.
Closes #21237.
This commit is contained in:
Vladimir Golovnev 2024-08-24 20:24:20 +03:00 committed by GitHub
parent c01265c4cf
commit 94d98e78db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -750,7 +750,7 @@ Supports the formats: S01E01, 1x1, 2017.12.31 and 31.12.2017 (Date formats also
}
if ((rulesList[ruleName].torrentParams.stopped === undefined) || (rulesList[ruleName].torrentParams.stopped === null))
$("addStoppedCombobox").value = "default";
$("addPausedCombobox").value = "default";
else
$('addPausedCombobox').value = rulesList[ruleName].torrentParams.stopped ? 'always' : 'never';