Skip to content

Commit d722c95

Browse files
authored
ui: fix form data double fetch/reset DeployVMFromBackup form data by ownership selection (#11706)
* ui: fix form data double fetch/reset DeployVMFromBackup form data by ownership selection Related #11705 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> * fix Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> * fix Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> --------- Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent 2056c58 commit d722c95

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ui/src/components/view/DeployVMFromBackup.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2137,7 +2137,9 @@ export default {
21372137
this.owner.domainid = null
21382138
this.owner.projectid = OwnerOptions.selectedProject
21392139
}
2140-
this.resetData()
2140+
if (OwnerOptions.initialized) {
2141+
this.resetData()
2142+
}
21412143
},
21422144
fetchZones (zoneId, listZoneAllow) {
21432145
this.zones = []

0 commit comments

Comments
 (0)