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