This is an automated email from the ASF dual-hosted git repository.
ocket8888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 46f602a342 View Cache Groups, View Servers buttons added in Types
Detail page (#7613)
46f602a342 is described below
commit 46f602a3429b476875ff1333b2d116518103adde
Author: Kannan.G.B <[email protected]>
AuthorDate: Mon Jul 10 11:15:44 2023 +0530
View Cache Groups, View Servers buttons added in Types Detail page (#7613)
* buttons added
* route added
* revert changes
* changed query param to typeName
* type reference corrected
---
.../traffic-portal/src/app/core/types/detail/type-detail.component.html | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/experimental/traffic-portal/src/app/core/types/detail/type-detail.component.html
b/experimental/traffic-portal/src/app/core/types/detail/type-detail.component.html
index 155f3e97dd..6bcb9c62e9 100644
---
a/experimental/traffic-portal/src/app/core/types/detail/type-detail.component.html
+++
b/experimental/traffic-portal/src/app/core/types/detail/type-detail.component.html
@@ -16,6 +16,8 @@ limitations under the License.
<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]="{type: type.name}">View Servers</a>
</mat-card-header>
<mat-card-content class="container">
<mat-form-field *ngIf="!new">