Skip to content

Commit

Permalink
Don't execute query when changing data sources (fixes #29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Short committed Jul 25, 2018
1 parent 1a3f630 commit 25503c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/app/pages/queries/view.js
Original file line number Diff line number Diff line change
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 25503c9

Please sign in to comment.