You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by zr...@apache.org on 2021/09/15 00:00:44 UTC
[trafficcontrol] 02/02: Fix DSRs not showing TLS version
restrictions (#6206)
This is an automated email from the ASF dual-hosted git repository.
zrhoffman pushed a commit to branch 6.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
commit 3a96b26c53262cbee9c79cf985f90725676b9a65
Author: ocket8888 <oc...@gmail.com>
AuthorDate: Tue Sep 14 11:28:59 2021 -0600
Fix DSRs not showing TLS version restrictions (#6206)
(cherry picked from commit 4f1988c18cc0cf20ec3d28a02e681d95d6fd903f)
---
.../edit/FormEditDeliveryServiceRequestController.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/traffic_portal/app/src/modules/private/deliveryServiceRequests/edit/FormEditDeliveryServiceRequestController.js b/traffic_portal/app/src/modules/private/deliveryServiceRequests/edit/FormEditDeliveryServiceRequestController.js
index 1208169..a29dc3c 100644
--- a/traffic_portal/app/src/modules/private/deliveryServiceRequests/edit/FormEditDeliveryServiceRequestController.js
+++ b/traffic_portal/app/src/modules/private/deliveryServiceRequests/edit/FormEditDeliveryServiceRequestController.js
@@ -26,6 +26,8 @@ var FormEditDeliveryServiceRequestController = function(deliveryServiceRequest,
$scope.changeType = $scope.dsRequest.changeType;
+ $scope.restrictTLS = ((dsr)=>dsr.tlsVersions instanceof Array && dsr.tlsVersions.length > 0)($scope.dsRequest.requested ?? $scope.dsRequest.original);
+
$scope.requestStatus = $scope.dsRequest.status;
$scope.deliveryServiceName = angular.copy(($scope.dsRequest.requested) ? $scope.dsRequest.requested.xmlId : $scope.dsRequest.original.xmlId);