You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.
Is there a way to reload a parent route's model from the breadcrumb? For example, if the current route is Home > Farms > Farm > Fields > Field > Crops and you add a new Crop, when you click on the "Field" breadcrumb, reload that Field?
The beforeModel/model/afterModel hooks won't fire because this is a nested route. One solution is to allow the dev to pass in a "reload" property that takes in true/false in the breadCrumb route property. Let me know if you want to go that route, and I'd be happy to make a PR for that.
Thanks for a great addon!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there a way to reload a parent route's model from the breadcrumb? For example, if the current route is Home > Farms > Farm > Fields > Field > Crops and you add a new Crop, when you click on the "Field" breadcrumb, reload that Field?
The beforeModel/model/afterModel hooks won't fire because this is a nested route. One solution is to allow the dev to pass in a "reload" property that takes in true/false in the
breadCrumb
route property. Let me know if you want to go that route, and I'd be happy to make a PR for that.Thanks for a great addon!
The text was updated successfully, but these errors were encountered: