3👍
✅
You can simply use a computed:
computed: {
currentReservations() {
return this.reservations.filter((reservation) => reservation.guests.reservationDate < this.currentDate);
},
},
Source:stackexchange.com