mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
fix user bookings pagination bug
This commit is contained in:
@@ -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)
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user