Merge pull request #2072 from lukasolson/issue-2052
Prevent hiding of fields when clicking on an index twice
This commit is contained in:
commit
d9d9b17272
|
@ -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'});
|
||||
|
||||
|
|
Loading…
Reference in a new issue