mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5733: UI > Virtual Routers > group by zone/pod/cluster > remove redundant code.
This commit is contained in:
parent
da260d17f1
commit
7003f0b0df
|
|
@ -19015,16 +19015,6 @@
|
|||
routerCountFromAllPages += json.listroutersresponse.count;
|
||||
groupbyObj.routerCount = routerCountFromAllPages;
|
||||
|
||||
routerCountFromFirstPageToCurrentPage += json.listroutersresponse.router.length;
|
||||
} else {
|
||||
groupbyObj.routerCount = routerCountFromAllPages;
|
||||
}
|
||||
|
||||
|
||||
if (json.listroutersresponse.count != undefined) {
|
||||
routerCountFromAllPages += json.listroutersresponse.count;
|
||||
groupbyObj.routerCount = routerCountFromAllPages;
|
||||
|
||||
routerCountFromFirstPageToCurrentPage += json.listroutersresponse.router.length;
|
||||
|
||||
var items = json.listroutersresponse.router;
|
||||
|
|
|
|||
Loading…
Reference in New Issue