diff options
Diffstat (limited to 'resources/js')
-rw-r--r-- | resources/js/components/reservation.vue | 10 |
1 files changed, 5 insertions, 5 deletions
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]; } } } |