This commit is contained in:
Mukhtar Akere
2025-04-26 21:13:09 +01:00
parent 6e2d1e1a7f
commit e8112a4647
3 changed files with 7 additions and 3 deletions
+3
View File
@@ -221,7 +221,10 @@ func (ui *Handler) handleUpdateConfig(w http.ResponseWriter, r *http.Request) {
if len(updatedConfig.Debrids) > 0 {
currentConfig.Debrids = updatedConfig.Debrids
// Clear legacy single debrid if using array
}
if len(updatedConfig.Arrs) > 0 {
currentConfig.Arrs = updatedConfig.Arrs
}
// Update Arrs through the service
+1 -1
View File
@@ -221,7 +221,7 @@
<div class="setup-step d-none" id="step4">
<div class="section mb-5">
<div id="arrConfigs"></div>
<div class="mb-3">
<div class="mb-3 d-none">
<button type="button" id="addArrBtn" class="btn btn-secondary">
<i class="bi bi-plus"></i> Add New Arr
</button>