Prevent hiding of fields when clicking on an index twice
This commit is contained in:
parent
c6a3313f67
commit
24c4fd73f4
|
@ -35,9 +35,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'});
|
||||
|
||||
|
|
Loading…
Reference in a new issue