You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by ra...@apache.org on 2019/11/03 16:44:20 UTC

[trafficcontrol] branch master updated: adds type query param to the state url definition. this prevents the state from changing due to the query param which can result in unpredictable results. (#4071)

This is an automated email from the ASF dual-hosted git repository.

rawlin 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 c24181e  adds type query param to the state url definition. this prevents the state from changing due to the query param which can result in unpredictable results. (#4071)
c24181e is described below

commit c24181ec5db5777d480c75cfb4e0a2bda0678fc4
Author: Jeremy Mitchell <mi...@users.noreply.github.com>
AuthorDate: Sun Nov 3 09:44:10 2019 -0700

    adds type query param to the state url definition. this prevents the state from changing due to the query param which can result in unpredictable results. (#4071)
---
 .../app/src/modules/private/deliveryServices/capabilities/index.js      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/traffic_portal/app/src/modules/private/deliveryServices/capabilities/index.js b/traffic_portal/app/src/modules/private/deliveryServices/capabilities/index.js
index 5e9caa3..3dfc085 100644
--- a/traffic_portal/app/src/modules/private/deliveryServices/capabilities/index.js
+++ b/traffic_portal/app/src/modules/private/deliveryServices/capabilities/index.js
@@ -21,7 +21,7 @@ module.exports = angular.module('trafficPortal.private.deliveryServices.capabili
 	.config(function($stateProvider, $urlRouterProvider) {
 		$stateProvider
 			.state('trafficPortal.private.deliveryServices.capabilities', {
-				url: '/{deliveryServiceId}/required-server-capabilities',
+				url: '/{deliveryServiceId}/required-server-capabilities?type',
 				views: {
 					deliveryServicesContent: {
 						templateUrl: 'common/modules/table/deliveryServiceCapabilities/table.deliveryServiceCapabilities.tpl.html',