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 2019/07/16 15:17:31 UTC
[GitHub] [trafficcontrol] mitchell852 commented on a change in pull request
#3726: Add redirect to link profiles page on TP parameter creation
mitchell852 commented on a change in pull request #3726: Add redirect to link profiles page on TP parameter creation
URL: https://github.com/apache/trafficcontrol/pull/3726#discussion_r303969035
##########
File path: traffic_portal/app/src/app.js
##########
@@ -425,13 +425,13 @@ var trafficPortal = angular.module('trafficPortal', [
RestangularProvider.setBaseUrl(ENV.api['root']);
- RestangularProvider.setResponseInterceptor(function(data, operation, what) {
+ RestangularProvider.setResponseInterceptor(function(data, operation) {
- if (angular.isDefined(data.response)) { // todo: this should not be needed. need better solution.
- if (operation == 'getList') {
- return data.response;
+ if (angular.isDefined(data.response)) {
Review comment:
i'll give it some more thought.
----------------------------------------------------------------
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