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:
@@ -151,13 +151,13 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getBooking(){
|
||||
axios.get(this.url+"/"+ this.$route.params.userId).then(response => {
|
||||
axios.get(this.url).then(response => {
|
||||
this.bookingTable = response.data.data;
|
||||
this.makePagination(response.data);
|
||||
})
|
||||
},
|
||||
getBookingTableComplete(){
|
||||
axios.get(this.completeBookingurl + "/" + this.$route.params.userId).then(response => {
|
||||
axios.get(this.completeBookingurl).then(response => {
|
||||
this.bookingTableComplete = response.data.data
|
||||
console.log(this.bookingTableComplete);
|
||||
this.makeCompletePagination(response.data)
|
||||
|
||||
Reference in New Issue
Block a user