From 1aa368a4c461ec6a8bcd7695767ceda7b09f7c28 Mon Sep 17 00:00:00 2001 From: Mateja <mail@matejamaric.com> Date: Wed, 17 Mar 2021 17:36:28 +0100 Subject: Small fixes in `reservations.vue` --- resources/js/components/reservation.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'resources') diff --git a/resources/js/components/reservation.vue b/resources/js/components/reservation.vue index 1e04c89..fdc14d1 100644 --- a/resources/js/components/reservation.vue +++ b/resources/js/components/reservation.vue @@ -15,19 +15,19 @@ <td contenteditable="true">{{ reservation.operatorEmail }}</td> <td contenteditable="true">{{ reservation.operatorCall }}</td> <td> - <button class="btn btn-primary mr-2">Update</button>; - <button class="btn btn-warning mr-2">Restore</button>; - <button class="btn btn-danger">Delete</button>; + <button class="btn btn-primary mr-2">Update</button> + <button class="btn btn-warning mr-2">Restore</button> + <button class="btn btn-danger">Delete</button> </td> </tr> </template> <script> export default { - props: ['reservationIndex'], + props: [ 'reservationIndex' ], computed: { reservation() { - return this.$store.getters.getData[reservationIndex]; + return this.$store.getters.getData[this.reservationIndex]; } } } -- cgit v1.2.3