HDPDGI-69:Vishal: Removed unnecessary transform of json
Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/63c86bff Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/63c86bff Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/63c86bff Branch: refs/heads/master Commit: 63c86bff05c420001cc1e6b1b7baacb8e41c937c Parents: 1efb57b Author: Vishal Kadam <[email protected]> Authored: Tue Jun 16 00:14:14 2015 -0400 Committer: Vishal Kadam <[email protected]> Committed: Tue Jun 16 00:14:14 2015 -0400 ---------------------------------------------------------------------- dashboard/v2/public/modules/lineage/lineageController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/63c86bff/dashboard/v2/public/modules/lineage/lineageController.js ---------------------------------------------------------------------- diff --git a/dashboard/v2/public/modules/lineage/lineageController.js b/dashboard/v2/public/modules/lineage/lineageController.js index 0227552..49ce91e 100755 --- a/dashboard/v2/public/modules/lineage/lineageController.js +++ b/dashboard/v2/public/modules/lineage/lineageController.js @@ -30,7 +30,7 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco if (!_.isEmpty(response.results.values.vertices)) { var allGuids = loadProcess(response.results.values.edges, response.results.values.vertices); allGuids.then(function(res) { - guidsList = JSON.parse(res); + guidsList = res; $scope.lineageData = transformData(response.results); if (callRender) { render(); @@ -55,7 +55,7 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco } $q.all(urlCalls) .then(function(results) { - deferred.resolve(JSON.stringify(results)); + deferred.resolve(results); }); return deferred.promise; }
