diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index 2f19030f7..150a6f581 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -66,7 +66,7 @@ @if(auth()->user()->hasRole('open-beta'))
- +
@else @include('includes.station-autocomplete') diff --git a/resources/vue/components/StationAutocomplete.vue b/resources/vue/components/StationAutocomplete.vue index 1bb1f87f9..4167f4435 100644 --- a/resources/vue/components/StationAutocomplete.vue +++ b/resources/vue/components/StationAutocomplete.vue @@ -24,6 +24,16 @@ export default { type: DateTime, required: false, default: null + }, + showFilterButton: { + type: Boolean, + required: false, + default: false + }, + showGpsButton: { + type: Boolean, + required: false, + default: false } }, data() { @@ -174,10 +184,14 @@ export default { @focusin="showModal" @keyup.enter="setStationFromText" /> - + diff --git a/resources/vue/components/Stationboard.vue b/resources/vue/components/Stationboard.vue index ef121b3b3..c450839ca 100644 --- a/resources/vue/components/Stationboard.vue +++ b/resources/vue/components/Stationboard.vue @@ -135,6 +135,7 @@ export default { v-on:update:travel-type="updateTravelType" :station="{name: stationName}" :time="now" + :show-filter-button="true" />
Loading...