diff options
author | Chris Schlaeger <chris@linux.com> | 2016-01-19 07:00:32 +0100 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2016-01-19 07:00:32 +0100 |
commit | 7404a9c672f20270dd8ca303dd65bbd241a27b52 (patch) | |
tree | 24d9b4ef3eed256724948f59e23c638d829f8dd2 /lib | |
parent | 7f9e651990706cf4906987365e185b279bb609dc (diff) | |
download | postrunner-7404a9c672f20270dd8ca303dd65bbd241a27b52.zip |
FIX: Don't show elevation graph for treadmill activities.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/postrunner/ChartView.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/postrunner/ChartView.rb b/lib/postrunner/ChartView.rb index 2b13e28..3e7729b 100644 --- a/lib/postrunner/ChartView.rb +++ b/lib/postrunner/ChartView.rb @@ -46,7 +46,7 @@ module PostRunner :unit => select_unit('m'), :graph => :line_graph, :colors => '#5AAA44', - :show => true + :show => @activity.sub_sport != 'treadmill' }, { :id => 'heart_rate', |