diff options
author | Mateja <mail@matejamaric.com> | 2021-03-17 17:36:28 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-03-17 17:36:28 +0100 |
commit | 1aa368a4c461ec6a8bcd7695767ceda7b09f7c28 (patch) | |
tree | 39fc39cea0f117145ad39703e5c88eac4d8b41ad | |
parent | beefc8f1bf67b7dee7d6f072dbb2dcc4e86a6468 (diff) | |
download | yota-laravel-1aa368a4c461ec6a8bcd7695767ceda7b09f7c28.tar.gz yota-laravel-1aa368a4c461ec6a8bcd7695767ceda7b09f7c28.zip |
Small fixes in `reservations.vue`
-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]; } } } |