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