File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/views/document/utils/boxes Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -752,6 +752,10 @@ export default {
752752 canAccessReturnTab () {
753753 return this .outboundData .journeys .length > 0 ;
754754 },
755+
756+ maxNbTransfers () {
757+ return this .limitTransfers ? this .maxTransfers : - 1 ;
758+ },
755759 },
756760
757761 async mounted () {
@@ -947,7 +951,7 @@ export default {
947951 walking_speed: 1.12 ,
948952 max_walking_duration_to_pt: 4464 ,
949953 min_nb_journeys: 3 ,
950- max_nb_transfers: this .maxTransfers ,
954+ max_nb_transfers: this .maxNbTransfers ,
951955 }
952956 );
953957
@@ -1000,7 +1004,7 @@ export default {
10001004 walking_speed: 1.12 ,
10011005 max_walking_duration_to_pt: 4464 ,
10021006 min_nb_journeys: 3 ,
1003- max_nb_transfers: this .maxTransfers ,
1007+ max_nb_transfers: this .maxNbTransfers ,
10041008 timeframe_duration: 86400 ,
10051009 }
10061010 );
You can’t perform that action at this time.
0 commit comments