You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ak...@apache.org on 2018/12/07 09:29:17 UTC

ignite git commit: IGNITE-10587 Web Console: Fixed chart history cleanup.

Repository: ignite
Updated Branches:
  refs/heads/master e1b8686aa -> 26860c5a9


IGNITE-10587 Web Console: Fixed chart history cleanup.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/26860c5a
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/26860c5a
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/26860c5a

Branch: refs/heads/master
Commit: 26860c5a9a9375baba81bcf67d140a4f4055d838
Parents: e1b8686
Author: Alexander Kalinin <ve...@yandex.ru>
Authored: Fri Dec 7 16:29:08 2018 +0700
Committer: Alexey Kuznetsov <ak...@apache.org>
Committed: Fri Dec 7 16:29:08 2018 +0700

----------------------------------------------------------------------
 .../web-console/frontend/app/components/ignite-chart/controller.js  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/26860c5a/modules/web-console/frontend/app/components/ignite-chart/controller.js
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/components/ignite-chart/controller.js b/modules/web-console/frontend/app/components/ignite-chart/controller.js
index 81ed273..b611250 100644
--- a/modules/web-console/frontend/app/components/ignite-chart/controller.js
+++ b/modules/web-console/frontend/app/components/ignite-chart/controller.js
@@ -87,6 +87,7 @@ export class IgniteChartController {
         if ((changes.chartDataPoint && _.isNil(changes.chartDataPoint.currentValue)) ||
             (changes.chartHistory && _.isEmpty(changes.chartHistory.currentValue))) {
             this.clearDatasets();
+            this.localHistory = [];
 
             return;
         }