From 7d61d36fc3b45461c8c904da360c339e1c6fc3c8 Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Sat, 14 Mar 2015 23:23:15 +0700 Subject: [PATCH] Between transitions keep only sorting --- app/scripts/src/charts/bar_chart.jsx | 1 - app/scripts/src/charts/stacked_area_chart.jsx | 1 - 2 files changed, 2 deletions(-) diff --git a/app/scripts/src/charts/bar_chart.jsx b/app/scripts/src/charts/bar_chart.jsx index b0e57e1..8d12014 100644 --- a/app/scripts/src/charts/bar_chart.jsx +++ b/app/scripts/src/charts/bar_chart.jsx @@ -26,7 +26,6 @@ var BarChart = React.createClass({ componentWillReceiveProps: function(newProps) { this.setState({ item: newProps.items[0], - sort: 'commits', state: 'newProps' }, this.fetchData); }, diff --git a/app/scripts/src/charts/stacked_area_chart.jsx b/app/scripts/src/charts/stacked_area_chart.jsx index d2fd60c..9d07ee6 100644 --- a/app/scripts/src/charts/stacked_area_chart.jsx +++ b/app/scripts/src/charts/stacked_area_chart.jsx @@ -23,7 +23,6 @@ var StackedAreaChart = React.createClass({ componentWillReceiveProps: function(newProps) { this.setState({ item: newProps.items[0], - sort: 'commits', state: 'newProps' }, this.fetchData); },