aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-03-17 17:36:28 +0100
committerMateja <mail@matejamaric.com>2021-03-17 17:36:28 +0100
commit1aa368a4c461ec6a8bcd7695767ceda7b09f7c28 (patch)
tree39fc39cea0f117145ad39703e5c88eac4d8b41ad
parentbeefc8f1bf67b7dee7d6f072dbb2dcc4e86a6468 (diff)
downloadyota-laravel-1aa368a4c461ec6a8bcd7695767ceda7b09f7c28.tar.gz
yota-laravel-1aa368a4c461ec6a8bcd7695767ceda7b09f7c28.zip
Small fixes in `reservations.vue`
-rw-r--r--resources/js/components/reservation.vue10
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];
}
}
}