mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
CLOUDSTACK-7731: UI > Infrastructure > Virtual Routers > group by XXXXXXX view > listView > detailView > add View All link > not show "group by XXXXXXX" in select view dropdown.
This commit is contained in:
parent
f8cbd6ad46
commit
5e165d499e
@ -9391,7 +9391,16 @@
|
|||||||
subsections: {
|
subsections: {
|
||||||
virtualRouters: {
|
virtualRouters: {
|
||||||
sectionSelect: {
|
sectionSelect: {
|
||||||
label: 'label.select-view'
|
label: 'label.select-view',
|
||||||
|
preFilter: function(args) {
|
||||||
|
//Only clicking ViewAll Link("view all Virtual Routers") in "Virtual Routers group by XXXXXXX" detailView will have "routerGroupByXXXXXXX" included in args.context
|
||||||
|
if (("routerGroupByZone" in args.context) || ("routerGroupByPod" in args.context) || ("routerGroupByCluster" in args.context) || ("routerGroupByAccount" in args.context)) {
|
||||||
|
return ["routerNoGroup"];
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return ["routerNoGroup", "routerGroupByZone", "routerGroupByPod", "routerGroupByCluster", "routerGroupByAccount"];
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
sections: {
|
sections: {
|
||||||
routerNoGroup: {
|
routerNoGroup: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user