mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 11:39:18 +00:00
fix(marketplace): add watcher for route change to fetch new items
This commit is contained in:
@@ -58,6 +58,11 @@ export default {
|
|||||||
this.search_value = '';
|
this.search_value = '';
|
||||||
this.get_items();
|
this.get_items();
|
||||||
},
|
},
|
||||||
|
watch:{
|
||||||
|
$route (to, from){
|
||||||
|
this.get_items()
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
get_items() {
|
get_items() {
|
||||||
hub.call('get_data_for_homepage', frappe.defaults ? {
|
hub.call('get_data_for_homepage', frappe.defaults ? {
|
||||||
|
|||||||
Reference in New Issue
Block a user