Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
HAWKULAR-903 : Immediately apply chart data range change
Browse files Browse the repository at this point in the history
  • Loading branch information
ammendonca committed Dec 24, 2015
1 parent df580c5 commit 609f42d
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -122,12 +122,12 @@ module HawkularMetrics {
this.chartNonHeapData = [];

if ($rootScope.currentPersona) {
this.getJvmData();
this.refresh();
this.getJvmContextChartData();
} else {
// currentPersona hasn't been injected to the rootScope yet, wait for it..
$rootScope.$watch('currentPersona',
(currentPersona) => currentPersona && this.getJvmData());
(currentPersona) => currentPersona && this.refresh());
this.getJvmContextChartData();
}

Expand All @@ -148,7 +148,6 @@ module HawkularMetrics {
'jvm',
_.bind(this.filterAlerts, this)
);
this.getAlerts();
this.autoRefresh(20);
}

Expand Down

0 comments on commit 609f42d

Please sign in to comment.