fix user bookings pagination bug

This commit is contained in:
omair saleh
2021-05-20 17:52:11 +08:00
parent b960be9bf1
commit 8b006fee63
@@ -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)