ui: fix create network from global create menu (#12677)

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2026-03-09 18:56:19 +05:30 committed by GitHub
parent c3d6a8cff7
commit db83622956
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ export default {
fetchActionZoneData () {
this.loading = true
const params = {}
if (this.resource.zoneid && (this.$route.name === 'deployVirtualMachine' || this.$route.path.startsWith('/backup'))) {
if (this.resource?.zoneid && (this.$route.name === 'deployVirtualMachine' || this.$route.path.startsWith('/backup'))) {
params.id = this.resource.zoneid
}
this.actionZoneLoading = true