From c368a8c5aa293e6924d31ffac97835a8af0b3ac5 Mon Sep 17 00:00:00 2001 From: Jack Goh Date: Tue, 18 Sep 2018 11:24:38 +0800 Subject: [PATCH] fix real time update rate not working --- resources/assets/js/pages/home.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/assets/js/pages/home.vue b/resources/assets/js/pages/home.vue index b4b954a4..5890c666 100644 --- a/resources/assets/js/pages/home.vue +++ b/resources/assets/js/pages/home.vue @@ -528,10 +528,11 @@ export default { } }, mounted () { - this.getBooking(); - this.initBooking(); - this.getRate(); - this.getBookingTableComplete(); + this.getBooking() + this.initBooking() + this.getRate() + this.getBookingTableComplete() + this.listen() }, methods: { // listen to update rate changes