Merge pull request #2072 from lukasolson/issue-2052

Prevent hiding of fields when clicking on an index twice
This commit is contained in:
Joe Fleming 2014-12-02 10:54:10 -07:00
commit d9d9b17272

View file

@ -77,9 +77,9 @@ define(function (require) {
$state.save();
};
if (!$state.tab) {
$scope.changeTab($scope.fieldTypes[0]);
}
$scope.$watch('state.tab', function (tab) {
if (!tab) $scope.changeTab($scope.fieldTypes[0]);
});
$scope.conflictFields = _.filter($scope.indexPattern.fields, {type: 'conflict'});