summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2016-09-20 20:40:15 +0200
committerChris Schlaeger <chris@linux.com>2016-09-20 20:40:15 +0200
commit16820f68986df788698c174c161ae579d2bebcb4 (patch)
tree99bcd00a91489fb8c43c9ba86bb061024c1d029b
parent4f03769a7df1055674e3c9469565f9b952e3ed38 (diff)
downloadpostrunner-16820f68986df788698c174c161ae579d2bebcb4.zip
Fix: Only show pace and speed graph together for multisport.
Otherwise show only pace for running or speed otherwise.
-rw-r--r--lib/postrunner/ChartView.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/postrunner/ChartView.rb b/lib/postrunner/ChartView.rb
index 806ded3..44df2fe 100644
--- a/lib/postrunner/ChartView.rb
+++ b/lib/postrunner/ChartView.rb
@@ -30,7 +30,7 @@ module PostRunner
:unit => select_unit('min/km'),
:graph => :line_graph,
:colors => '#0A7BEE',
- :show => @sport == 'running' || @sport = 'multisport',
+ :show => @sport == 'running' || @sport == 'multisport',
},
{
:id => 'speed',