mitchell852 commented on a change in pull request #5183:
URL: https://github.com/apache/trafficcontrol/pull/5183#discussion_r514588453
##########
File path:
traffic_portal/app/src/common/modules/table/deliveryServiceRequests/TableDeliveryServiceRequestsController.js
##########
@@ -52,32 +107,156 @@ var TableDeliveryServicesRequestsController = function
(dsRequests, $scope, $sta
$scope.PENDING = 3;
$scope.COMPLETE = 4;
- $scope.dsRequests = dsRequests;
+ /** All of the ds requests - createdAt field converted to actual Date */
+ $scope.dsRequests = dsRequests.map(
+ function(x) {
+ x.createdAt = x.createdAt ? new
Date(x.createdAt.replace("+00", "Z")) : x.createdAt;
+ });
- $scope.getRelativeTime = dateUtils.getRelativeTime;
+ $scope.quickSearch = '';
- $scope.refresh = function () {
- $state.reload(); // reloads all the resolves for the view
+ $scope.pageSize = 100;
+
+ /** Options, configuration, data and callbacks for the ag-grid table. */
+ $scope.gridOptions = {
+ onRowDoubleClicked: function(params) {
Review comment:
oops. i need to fix this
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]