One of the challenges I'm facing involves working with an array that loops through all the trips for a listing.
<span v-for="price in listing.trips">
<div class="price">{{ price.cost }} </div>
</span>
I'm wondering if there's a way to apply a filter to only display the lowest priced trip.
This is what I attempted:
<span v-for="price in listing.trips">
<div class="price">{{ Math.min(price.cost) }} </div>
</span>