restore: send siteId

This commit is contained in:
Girish Ramakrishnan
2025-10-06 20:03:38 +02:00
parent 9bb58b1649
commit 9d8c079d37

View File

@@ -39,6 +39,7 @@ const ipv6Provider = ref('generic');
const ipv6Address = ref('');
const ipv6Interface = ref('');
const skipDnsSetup = ref(false);
const siteId = ref('');
const form = useTemplateRef('form');
const isFormValid = ref(false);
@@ -124,6 +125,7 @@ async function onSubmit() {
ifname: ipv6Interface.value,
},
skipDnsSetup: skipDnsSetup.value,
siteId: siteId.value
};
if (encrypted.value) {
@@ -274,6 +276,7 @@ function onBackupConfigChanged(event) {
encryptionPasswordHint.value = data.encryptionPasswordHint || '';
encryptionPassword.value = '';
encryptedFilenames.value = data.encryptedFilenames;
siteId.value = data.siteId || '';
};
reader.readAsText(event.target.files[0]);