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: {
|
response: {
|
||||||
success: function(args) {
|
success: function(args) {
|
||||||
var data = args.data;
|
var data = args.data;
|
||||||
if (data.length > 1) {
|
|
||||||
// Render list view first
|
|
||||||
$chart.listView({
|
$chart.listView({
|
||||||
listView: $.extend(true, {}, cloudStack.sections.system.naas.networks.listView, {
|
listView: $.extend(true, {}, cloudStack.sections.system.naas.networks.listView, {
|
||||||
dataProvider: function(args) {
|
dataProvider: function(args) {
|
||||||
@ -306,12 +305,6 @@
|
|||||||
})
|
})
|
||||||
});
|
});
|
||||||
$loading.remove();
|
$loading.remove();
|
||||||
} else {
|
|
||||||
renderChart({
|
|
||||||
$chart: $chart,
|
|
||||||
data: data[0]
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user