mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Merge pull request #8428 from elastic/jasper/backport/8422/5.0
[backport] PR #8422 to 5.0
This commit is contained in:
commit
3f0f105fc9
1 changed files with 7 additions and 1 deletions
|
@ -19,7 +19,13 @@ module.controller('KbnTableVisController', function ($scope, Private) {
|
|||
$scope.uiState.set('vis.params.sort', newSort);
|
||||
});
|
||||
|
||||
$scope.$watch('esResponse', function (resp, oldResp) {
|
||||
/**
|
||||
* Recreate the entire table when:
|
||||
* - the underlying data changes (esResponse)
|
||||
* - one of the view options changes (vis.params)
|
||||
*/
|
||||
$scope.$watchMulti(['esResponse', 'vis.params'], function ([resp]) {
|
||||
|
||||
let tableGroups = $scope.tableGroups = null;
|
||||
let hasSomeRows = $scope.hasSomeRows = null;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue