Skip to content

Commit

Permalink
Don't execute query when changing data sources (fixes getredash#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Short authored and jezdez committed Aug 16, 2018
1 parent 7614368 commit 167ea03
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/app/pages/queries/view.js
Expand Up @@ -324,7 +324,6 @@ function QueryViewCtrl(
$scope.dataSource = find($scope.dataSources, ds => ds.id === $scope.query.data_source_id);
document.getElementById('data-source-version').innerHTML = '<span class=\'fa fa-refresh\' data-toggle=\'tooltip\' data-placement=\'right\' tooltip title=\'It seems the data source was changed since the page loaded, refresh page to get version\'></span>';
getSchema();
$scope.executeQuery();
};

$scope.setVisualizationTab = (visualization) => {
Expand Down

0 comments on commit 167ea03

Please sign in to comment.