You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/03/24 16:06:32 UTC

[GitHub] [trafficcontrol] mitchell852 commented on a change in pull request #4528: Deprecate users/{userId}/deliveryServices

mitchell852 commented on a change in pull request #4528: Deprecate users/{userId}/deliveryServices
URL: https://github.com/apache/trafficcontrol/pull/4528#discussion_r397273130
 
 

 ##########
 File path: traffic_portal/app/src/common/modules/form/user/FormUserController.js
 ##########
 @@ -50,7 +50,7 @@ var FormUserController = function(user, $scope, $location, formUtils, stringUtil
     $scope.labelize = stringUtils.labelize;
 
     $scope.viewDeliveryServices = function() {
-        $location.path($location.path() + '/delivery-services');
+        $location.path('/tenants/' + userModel.user.tenantId + '/delivery-services');
 
 Review comment:
   fyi for whoever reviews this. i was the one that suggested when viewing a user's delivery services, it's probably easiest to simply send them to view the delivery services of the user's tenant instead.
   
   this does mean, however, that we are abandoning a view (users/id/deliveryservices) that should probably be cleaned up.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services