mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Always render physical networks as list view first
This commit is contained in:
parent
464967294b
commit
4a9155df1b
@ -279,8 +279,7 @@
|
||||
response: {
|
||||
success: function(args) {
|
||||
var data = args.data;
|
||||
if (data.length > 1) {
|
||||
// Render list view first
|
||||
|
||||
$chart.listView({
|
||||
listView: $.extend(true, {}, cloudStack.sections.system.naas.networks.listView, {
|
||||
dataProvider: function(args) {
|
||||
@ -306,12 +305,6 @@
|
||||
})
|
||||
});
|
||||
$loading.remove();
|
||||
} else {
|
||||
renderChart({
|
||||
$chart: $chart,
|
||||
data: data[0]
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user