mercredi 2 mars 2016

Refresh ember store after transition

I'm trying to refresh the ember store after transitionToRoute, I have a grid that displays list of items and my current route is /sales-orders/ then clicking in the selected item will transitionToRoute /sales-orders/1, but the store still have data's not related to the selected item, I want to automatically unload those data from previous route and retain only the data from selected item. How can I refresh the store after transition?




Aucun commentaire:

Enregistrer un commentaire