fix user bookings pagination bug

This commit is contained in:
omair saleh
2021-05-20 17:41:45 +08:00
parent 86335af63c
commit 61077eafdb
@@ -153,15 +153,14 @@ export default {
getBooking(){
let $this = this
axios.get(this.url+"/"+ this.$route.params.userId).then(response => {
this.bookingTable = response.data.data;
vm.bookingTable = response.data.data;
$this.makePagination(response.data);
})
},
getBookingTableComplete(){
let vm = this
axios.get(this.completeBookingurl + "/" + this.$route.params.userId).then(response => {
console.log(response.data);
this.bookingTableComplete = response.data.data
vm.bookingTableComplete = response.data.data
vm.makeCompletePagination(response.data)
})
},