From fa170e3c8455b16fc8aac02a8d7adbd742378cf8 Mon Sep 17 00:00:00 2001 From: Mangesh-Khairnar Date: Wed, 4 Dec 2019 15:59:17 +0530 Subject: [PATCH] fix(marketplace): add watcher for route change to fetch new items --- erpnext/public/js/hub/pages/Home.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/erpnext/public/js/hub/pages/Home.vue b/erpnext/public/js/hub/pages/Home.vue index 353656957d..84a42367b2 100644 --- a/erpnext/public/js/hub/pages/Home.vue +++ b/erpnext/public/js/hub/pages/Home.vue @@ -58,6 +58,11 @@ export default { this.search_value = ''; this.get_items(); }, + watch:{ + $route (to, from){ + this.get_items() + } + }, methods: { get_items() { hub.call('get_data_for_homepage', frappe.defaults ? {