Series names and column name typeahead cache fix (Fixes #522)
This commit is contained in:
1 parent
574ecdb512
commit
ed0c71fa56
2 files changed
+3
-1
No files matched your search
@@ -42,6 +42,7 @@ function (angular) {
|
||||
$scope.seriesBlur = function() {
|
||||
if ($scope.oldSeries !== $scope.target.series) {
|
||||
$scope.oldSeries = $scope.target.series;
|
||||
$scope.columnList = null;
|
||||
$scope.get_data();
|
||||
}
|
||||
};
|
||||
@@ -67,7 +68,7 @@ function (angular) {
|
||||
};
|
||||
|
||||
$scope.listSeries = function(query, callback) {
|
||||
if (!seriesList) {
|
||||
if (!seriesList || query === '') {
|
||||
seriesList = [];
|
||||
$scope.datasource.listSeries().then(function(series) {
|
||||
seriesList = series;
|
||||
|
||||
Reference in new issue
Block a user