Skip to content

Commit

Permalink
Fixed topology link under ds/servers table page. (#7918)
Browse files Browse the repository at this point in the history
  • Loading branch information
rimashah25 committed Jan 19, 2024
1 parent 21d7c9a commit 14d45ac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Updated the CacheGroups Traffic Portal page to use a more performant AG-Grid-based table.

### Fixed
- [#7918](https://github.com/apache/trafficcontrol/pull/7918) *Traffic Portal* Fixed topology link under DS-Servers tables page
- [#7846](https://github.com/apache/trafficcontrol/pull/7846) *Traffic Portal* Increase State character limit

## [8.0.0] - 2023-09-20
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,16 @@ var TableDeliveryServiceServersController = function(deliveryService, servers, f
};

/** @type {import("../agGrid/CommonGridController").CGC.TitleButton} */
$scope.titleButton = {
onClick: function() {
locationUtils.navigateToPath("topologies/edit?name=" + encodeURIComponent($scope.deliveryService.topology));
},
getText: function() {
return "[ " + $scope.deliveryService.topology + " topology ]";
}
};
if($scope.deliveryService.topology) {
$scope.titleButton = {
onClick: function() {
locationUtils.navigateToPath("topologies/edit?name=" + encodeURIComponent($scope.deliveryService.topology));
},
getText: function() {
return "[ " + $scope.deliveryService.topology + " topology ]";
}
};
}

/** @type {import("../agGrid/CommonGridController").CGC.TitleBreadCrumbs} */
$scope.breadCrumbs = [{
Expand Down

0 comments on commit 14d45ac

Please sign in to comment.