mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Renamed needs_refresh flag to _needs_refresh
Fixed a bug with needs_refresh flag overwriting the needs_refresh method
This commit is contained in:
parent
126cab725c
commit
88cf85e483
1 changed files with 3 additions and 3 deletions
|
@ -735,17 +735,17 @@ define([
|
|||
if (_.isUndefined(value)) {
|
||||
value = true;
|
||||
}
|
||||
$scope.needs_refresh = value;
|
||||
$scope._needs_refresh = value;
|
||||
};
|
||||
|
||||
$scope.close_edit = function () {
|
||||
$scope.metricEditor = {
|
||||
index: -1
|
||||
};
|
||||
if ($scope.needs_refresh) {
|
||||
if ($scope._needs_refresh) {
|
||||
$scope.get_rows();
|
||||
}
|
||||
$scope.needs_refresh = false;
|
||||
$scope._needs_refresh = false;
|
||||
$scope.$emit('render');
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue