Commit cee15ef7 authored by dagal's avatar dagal
Browse files

Fix end stops not filtering

parent a6d5c053
......@@ -13,7 +13,7 @@
<div class="trippy-map-filters">
<div class="filter-column">
<stop-search v-model="startStop" v-bind:stops="startStops" v-on:input="selectStop" placeholder="Find starting stop"></stop-search>
<stop-search v-model="endStop" v-bind:stops="startStops" v-on:input="(s) => selectStop(s, true)" placeholder="Find ending stop"></stop-search>
<stop-search v-model="endStop" v-bind:stops="endStops" v-on:input="(s) => selectStop(s, true)" placeholder="Find ending stop"></stop-search>
<time-filter v-model="selectedDate" v-bind:min-date="minDate" v-bind:max-date="maxDate"></time-filter>
</div>
......
......@@ -40,7 +40,6 @@
methods: {
getDescription(option) {
//return option.name + " (" + option.lines.map(l => l.short_name).join() + ")";
return `${option.name} (${option.lines.map(l => l.short_name).join()})`
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment