Remove backup list from backup targets view

This commit is contained in:
Johannes Zellner
2025-08-04 15:17:46 +02:00
parent 705311f01f
commit cf86645bb5
2 changed files with 2 additions and 6 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ function create() {
if (error || result.status !== 200) return [error || result];
return [null, result.body.backupTargets];
},
async add(label, format, provider, config, schedule, retention, limits = null, encryptionPassword = null, encryptedFilenames = null) {
const data = { label, format, provider, config, schedule, retention };
async add(name, format, provider, config, schedule, retention, limits = null, encryptionPassword = null, encryptedFilenames = null) {
const data = { name, format, provider, config, schedule, retention };
if (limits !== null) data.limits = limits;
if (encryptionPassword !== null) data.encryptionPassword = encryptionPassword;