diff options
| author | Luc Donnet | 2018-05-15 15:29:10 +0200 |
|---|---|---|
| committer | GitHub | 2018-05-15 15:29:10 +0200 |
| commit | fc2aa2640185a081231d2f726bb345e5bd7709a9 (patch) | |
| tree | bbf8632c24d01faee28a1a209b3e84f0041a275e /app | |
| parent | 0ea92f772d7eb8facd7cedd50d50531e25664af5 (diff) | |
| parent | 342b883c73c08227fec95484c01b84c19cc0b626 (diff) | |
| download | chouette-core-fc2aa2640185a081231d2f726bb345e5bd7709a9.tar.bz2 | |
Merge pull request #567 from af83/6998-fix-jest-specs
6998 Fix JS specs
Diffstat (limited to 'app')
| -rw-r--r-- | app/javascript/vehicle_journeys/reducers/vehicleJourneys.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/javascript/vehicle_journeys/reducers/vehicleJourneys.js b/app/javascript/vehicle_journeys/reducers/vehicleJourneys.js index ecb58e2ea..4931ab46e 100644 --- a/app/javascript/vehicle_journeys/reducers/vehicleJourneys.js +++ b/app/javascript/vehicle_journeys/reducers/vehicleJourneys.js @@ -66,10 +66,6 @@ const vehicleJourney= (state = {}, action, keep) => { newVjas.departure_day_offset = 1 newVjas.arrival_day_offset = 1 } - if(current_time.hour + offsetHours < 0){ - newVjas.departure_day_offset = -1 - newVjas.arrival_day_offset = -1 - } } else{ newVjas = { |
