currentRouteOption relies on non-reactive FlowRouter.current()
Opened this issue · 1 comments
robertdavid010 commented
The template helper {{currentRouteOption '<option_name>'}}
uses the non-reactive FlowRouter.current()
API call.
The documentation makes this explicit. It also provides a way to explicitly trigger reactivity to a helper function.
Use FlowRouter.watchPathChange()
to have the the helper function triggered every time a route path changes.
robertdavid010 commented
It's one line of code after line 40 in helpers.coffe. Simple insert FlowRouter.watchPathChange();