mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
don't execute query if the query string is empty (when changing datasource)
This commit is contained in:
@@ -152,7 +152,9 @@
|
||||
|
||||
updateSchema();
|
||||
$scope.dataSource = _.find($scope.dataSources, function(ds) { return ds.id == $scope.query.data_source_id; });
|
||||
$scope.executeQuery();
|
||||
if ($scope.query.query) {
|
||||
$scope.executeQuery();
|
||||
}
|
||||
};
|
||||
|
||||
$scope.setVisualizationTab = function (visualization) {
|
||||
|
||||
Reference in New Issue
Block a user