Skip to content

Commit 865edb3

Browse files
shwstpprLocharla, Sandeep
authored andcommitted
ui: fix form data double fetch/reset DeployVMFromBackup form data by ownership selection (apache#11706)
* ui: fix form data double fetch/reset DeployVMFromBackup form data by ownership selection Related apache#11705 Signed-off-by: Abhishek Kumar <[email protected]> * fix Signed-off-by: Abhishek Kumar <[email protected]> * fix Signed-off-by: Abhishek Kumar <[email protected]> --------- Signed-off-by: Abhishek Kumar <[email protected]>
1 parent b66ec15 commit 865edb3

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
@@ -2140,7 +2140,9 @@ export default {
21402140
this.owner.domainid = null
21412141
this.owner.projectid = OwnerOptions.selectedProject
21422142
}
2143-
this.resetData()
2143+
if (OwnerOptions.initialized) {
2144+
this.resetData()
2145+
}
21442146
},
21452147
fetchZones (zoneId, listZoneAllow) {
21462148
this.zones = []

0 commit comments

Comments
 (0)