gbkannan89 commented on code in PR #7613:
URL: https://github.com/apache/trafficcontrol/pull/7613#discussion_r1254028426


##########
experimental/traffic-portal/src/app/core/types/detail/type-detail.component.html:
##########
@@ -16,6 +16,8 @@
        <tp-loading *ngIf="!type"></tp-loading>
        <form ngNativeValidate (ngSubmit)="submit($event)" *ngIf="type">
                <mat-card-header class="headers-container" *ngIf="!new">
+                       <a mat-raised-button color="primary" 
*ngIf="type.useInTable === 'cachegroup'" [routerLink]="'/core/cache-groups'" 
[queryParams]="{typeName: type.name}">View Cache Groups</a>
+                       <a mat-raised-button color="primary" 
*ngIf="type.useInTable === 'server'" [routerLink]="'/core/servers'" 
[queryParams]="{typeName: type.name}">View Servers</a>

Review Comment:
   in cache group type name is in  "typeName" and in servers type name is in 
"type". Made respective changes in redirect params. 



-- 
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: issues-unsubscr...@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to