diff --git a/ui/src/views/tools/ImportUnmanagedInstance.vue b/ui/src/views/tools/ImportUnmanagedInstance.vue
index 95c14f141d20..eef41874c02a 100644
--- a/ui/src/views/tools/ImportUnmanagedInstance.vue
+++ b/ui/src/views/tools/ImportUnmanagedInstance.vue
@@ -40,6 +40,9 @@
:showIcon="true"
:message="$t('message.import.running.instance.warning')"
/>
+
+
+
@@ -58,59 +61,6 @@
v-model:value="form.hostname"
:placeholder="apiParams.hostname.description" />
-
-
-
-
- { this.selectedDomainId = val }">
-
-
-
-
- {{ dom.label }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ proj.label }}
-
-
-
-
@@ -315,8 +265,8 @@
{
if (param.isLoad) {
@@ -1068,6 +1046,12 @@ export default {
diskpath: this.diskpath,
temppath: this.tmppath
}
+ values.domainid = this.owner.domainid
+ if (this.owner.projectid) {
+ values.projectid = this.owner.projectid
+ } else {
+ values.account = this.owner.account
+ }
var importapi = 'importUnmanagedInstance'
if (this.isExternalImport || this.isDiskImport || this.selectedVmwareVcenter) {
importapi = 'importVm'