diff options
author | Chris Schlaeger <chris@linux.com> | 2016-09-20 20:40:15 +0200 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2016-09-20 20:40:15 +0200 |
commit | 16820f68986df788698c174c161ae579d2bebcb4 (patch) | |
tree | 99bcd00a91489fb8c43c9ba86bb061024c1d029b /lib | |
parent | 4f03769a7df1055674e3c9469565f9b952e3ed38 (diff) | |
download | postrunner-16820f68986df788698c174c161ae579d2bebcb4.zip |
Fix: Only show pace and speed graph together for multisport.
Otherwise show only pace for running or speed otherwise.
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 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', |