Remove unused search field

This commit is contained in:
Gaël Métais
2015-03-09 07:52:04 +01:00
parent 121a8b11b8
commit 2827463b41
4 changed files with 2 additions and 40 deletions
+1 -4
View File
@@ -52,7 +52,7 @@ timelineCtrl.controller('TimelineCtrl', ['$scope', '$rootScope', '$routeParams',
var lastEvent = originalExecutions[originalExecutions.length - 1];
$scope.endTime = lastEvent.data.timestamp + (lastEvent.data.time || 0);
// Filter and calculate the search index
// Filter
$scope.executionTree = [];
originalExecutions.forEach(function(node) {
@@ -66,9 +66,6 @@ timelineCtrl.controller('TimelineCtrl', ['$scope', '$rootScope', '$routeParams',
}
}
// Prepare a faster angular search by creating a kind of search index
node.searchIndex = (node.data.callDetails) ? [node.data.type].concat(node.data.callDetails.arguments).join('°°') : node.data.type;
$scope.executionTree.push(node);
});
}