restore: send siteId
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user