rimashah25 commented on code in PR #7362:
URL: https://github.com/apache/trafficcontrol/pull/7362#discussion_r1121979337
##########
experimental/traffic-portal/src/app/core/cache-groups/cache-group-table/cache-group-table.component.ts:
##########
@@ -286,6 +286,15 @@ export class CacheGroupTableComponent implements OnInit {
case "dequeue":
this.queueUpdates(Array.isArray(a.data) ?
a.data : [a.data], false);
break;
+ case "asns":
+ let cg: ResponseCacheGroup;
+ if (Array.isArray(a.data)) {
+ cg = a.data[0];
+ } else {
+ cg = a.data;
+ }
+ this.router.navigate(["/core/asns"],
{queryParams: {cachegroup: cg.name}});
+ break;
Review Comment:
But it is a button on context-menu, which one has to click to navigate.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]