Closed cran208 closed 4 years ago
sorry for the delay. issue will be resolved today.
On Fri, Apr 13, 2018 at 11:22 AM, cran208 notifications@github.com wrote:
This is a (check one box):
- Bug Report
- Feature Request
- General Query
My version of UI-Router is: 1.0.15 Bug Report
Hi, I use transitions.onEnter to open a stateful dialog:
let enterDialogCriteria = { entering: ($state) =>$state.data.dialog }; let showDialog = ($transition$) => { 'ngInject'; DialogService.open($transition$.$to().data.dialog) }; $transitions.onEnter(enterDialogCriteria, showDialog);
However, when I inject the stateParams and state in the target dialog controller, I can not get the params which are passed from previous state.
It seems to be a new bug because it worked before I update the ui-router package.
Or is there another way to open a stateful dialog?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/angular-ui/ui-router/issues/3679, or mute the thread https://github.com/notifications/unsubscribe-auth/ANS5PXrYfU3FWUnjZvHgi76KKPxWYA_Rks5toDmpgaJpZM4TS4Lt .
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This does not mean that the issue is invalid. Valid issues may be reopened.
Thank you for your contributions.
This is a (check one box):
My version of UI-Router is: 1.0.15
Bug Report
Hi, I use transitions.onEnter to open a stateful dialog:
However, when I inject the stateParams and state in the target dialog controller, I can not get the params which are passed from previous state.
It seems to be a new bug because it worked before I update the ui-router package.
Or is there another way to open a stateful dialog?