Hi, i need to know how to refresh a page after success Call Back i tried all methods but every time i get an error
app.router.navigate('/products/');
app.views.main.router.navigate('/products/');
self.app.router.navigate('/products/', {reloadCurrent: true});
i tried all this but the same problem is appearing:
Uncaught Error: Framework7: it is not allowed to use router methods on global app router. Use router methods only on related View, e.g. app.views.main.router.navigate(…)
I tried also this app.views.main.router.refreshPage() but nothing the same problem
any help please
Thank you