Repository: incubator-atlas Updated Branches: refs/heads/branch-0.5-incubating 235c56101 -> 4e7c84bb6
HDPDGI-69:Vishal: Removed unnecessary transform of json (cherry picked from commit 63c86bf) Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/4e7c84bb Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/4e7c84bb Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/4e7c84bb Branch: refs/heads/branch-0.5-incubating Commit: 4e7c84bb60c7b984f0c100966cbb6ea7998a1a19 Parents: 235c561 Author: Vishal Kadam <[email protected]> Authored: Mon Jun 15 21:14:14 2015 -0700 Committer: Venkatesh Seetharam <[email protected]> Committed: Tue Jun 16 17:33:58 2015 -0700 ---------------------------------------------------------------------- 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/4e7c84bb/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; }
