mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
Fix: dashboard was reloading when clicking on refresh.
This commit is contained in:
@@ -192,9 +192,10 @@ function DashboardCtrl(
|
||||
};
|
||||
|
||||
this.loadDashboard = _.throttle((force) => {
|
||||
this.dashboard = Dashboard.get(
|
||||
Dashboard.get(
|
||||
{ slug: $routeParams.dashboardSlug },
|
||||
(dashboard) => {
|
||||
this.dashboard = dashboard;
|
||||
Events.record('view', 'dashboard', dashboard.id);
|
||||
renderDashboard(dashboard, force);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user