Skip to content

Commit df59276

Browse files
author
Jessica Wang
committed
System page - zone detail chart - compute tab - pods listView - JS error "selectedZoneObj is undefined"
1 parent 2ea75da commit df59276

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ui/scripts/system.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,8 +1444,7 @@
14441444
vlan: { label: 'VLAN Range' }
14451445
}
14461446
},
1447-
dataProvider: function(args) {
1448-
selectedZoneObj = args.context.zones[0];
1447+
dataProvider: function(args) {
14491448
cloudStack.sections.system.naas.networkProviders.statusCheck({
14501449
context: args.context
14511450
});
@@ -3132,6 +3131,7 @@
31323131
id: args.context.physicalResources[0].id
31333132
},
31343133
success: function(json) {
3134+
selectedZoneObj = json.listzonesresponse.zone[0];
31353135
args.response.success({ data: json.listzonesresponse.zone[0] });
31363136
}
31373137
});

0 commit comments

Comments
 (0)