aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZog2018-02-01 10:37:44 +0100
committerZog2018-02-01 10:37:44 +0100
commitb91895f897f6a9b401844e373d020c3f458fc130 (patch)
treedba4edc649e7d2c50d4ef963273f07cf08a72369
parentd114d549f7bc8a772803175dee9a665266d8ed04 (diff)
downloadchouette-core-b91895f897f6a9b401844e373d020c3f458fc130.tar.bz2
-rw-r--r--app/javascript/vehicle_journeys/containers/tools/EditVehicleJourney.js1
-rw-r--r--app/models/chouette/journey_pattern.rb1
2 files changed, 0 insertions, 2 deletions
diff --git a/app/javascript/vehicle_journeys/containers/tools/EditVehicleJourney.js b/app/javascript/vehicle_journeys/containers/tools/EditVehicleJourney.js
index a851b6e7d..c2eabcc10 100644
--- a/app/javascript/vehicle_journeys/containers/tools/EditVehicleJourney.js
+++ b/app/javascript/vehicle_journeys/containers/tools/EditVehicleJourney.js
@@ -18,7 +18,6 @@ const mapDispatchToProps = (dispatch) => {
dispatch(actions.closeModal())
},
onOpenEditModal: (vj) =>{
- console.log({vj})
dispatch(actions.openEditModal(vj))
},
onEditVehicleJourney: (data, selectedCompany) =>{
diff --git a/app/models/chouette/journey_pattern.rb b/app/models/chouette/journey_pattern.rb
index a81f4e9ce..aa9fdb810 100644
--- a/app/models/chouette/journey_pattern.rb
+++ b/app/models/chouette/journey_pattern.rb
@@ -166,7 +166,6 @@ module Chouette
full = false unless costs.present?
full = false unless costs[:distance] && costs[:distance] > 0
full = false unless costs[:time] && costs[:time] > 0
- p "#{start.stop_area_id}-#{finish.stop_area_id}" unless full
finish
end
full