fix(marketplace): add watcher for route change to fetch new items
This commit is contained in:
parent
8287c3d05a
commit
fa170e3c84
@ -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 ? {
|
||||
|
Loading…
x
Reference in New Issue
Block a user