mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
Report event for viewing widget/visualization/query
This commit is contained in:
parent
4b6b1984aa
commit
c49fbe1ac2
@ -69,6 +69,9 @@
|
||||
};
|
||||
|
||||
// TODO: fire event for query view for each query
|
||||
Events.record(currentUser, "view", "widget", $scope.widget.id);
|
||||
Events.record(currentUser, "view", "query", $scope.widget.visualization.query.id);
|
||||
Events.record(currentUser, "view", "visualization", $scope.widget.visualization.id);
|
||||
|
||||
$scope.query = new Query($scope.widget.visualization.query);
|
||||
$scope.queryResult = $scope.query.getQueryResult();
|
||||
|
Loading…
Reference in New Issue
Block a user