Commit 63c86bff by Vishal Kadam

HDPDGI-69:Vishal: Removed unnecessary transform of json

parent 1efb57bc
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment