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
I am using Angular 9, and have several [uiSref] which have same state name of a future load state, but they have different params. And also I have set same 'uiOptions.reload' to reload for them. The 'uiOptions.reload' is set ti the state name which will be added by the future module.
I want to make it reload when click on these [uiSref], since they have same target name but have different params.
when I first click on one of [uiSref] the future module will be loaded, but there will be an error says 'No such reload state'.
I tracked down the call stacks and found that when the module is loaded and applied, the older state 'future.state.**' will be deregistered and it will notify the [uiSref] to call the 'update' function. But the newly added state in the future model have not been registered at this time, so it can't find the reload state, and thow the error.
Can any body suggest one solution to this? Or does this to be one bug?
The text was updated successfully, but these errors were encountered:
I am using Angular 9, and have several [uiSref] which have same state name of a future load state, but they have different params. And also I have set same 'uiOptions.reload' to reload for them. The 'uiOptions.reload' is set ti the state name which will be added by the future module.
I want to make it reload when click on these [uiSref], since they have same target name but have different params.
when I first click on one of [uiSref] the future module will be loaded, but there will be an error says 'No such reload state'.
I tracked down the call stacks and found that when the module is loaded and applied, the older state 'future.state.**' will be deregistered and it will notify the [uiSref] to call the 'update' function. But the newly added state in the future model have not been registered at this time, so it can't find the reload state, and thow the error.
Can any body suggest one solution to this? Or does this to be one bug?
The text was updated successfully, but these errors were encountered: