Remove unused scope binding

This commit is contained in:
Rashid Khan 2014-09-08 16:36:15 -07:00
parent 8f8bde657d
commit 86284b0440

View file

@ -19,10 +19,8 @@ define(function (require) {
scope: {
fields: '=',
toggle: '=',
refresh: '=',
data: '=',
state: '=',
updateFilterInQuery: '=filter',
searchSource: '='
},
template: html,
@ -165,8 +163,7 @@ define(function (require) {
count: 5,
grouped: false
});
var indexPattern = $scope.searchSource.get('index');
indexPattern.popularizeField(field.name, 1);
$scope.increaseFieldCounter(field, 1);
} else {
delete field.details;
}