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
Hello, thanks for you work on this project, very appreciated.
I am using the exact versions of the following:
Browser: Google Chrome Version 60.0.3112.90 (Official Build) (64-bit)
AngularJS: 1.6.5
Angular Bootstrap: 2.5.0
Angular UI Tour: 0.8.2
Angular UI Router: 0.4.2
I have installed this library via: Bower
I have observed the following behavior:
I have around 25 steps on different pages and I need to check whether user has permission to see some steps. Now I have issue when my step with on-next redirect is disabled the tour breaks down, because redirect function wasn't run and I have no next enabled step on my page.
This is how I expected it to behave:
Maybe I could run on-next redirect function for last disabled step before enabled one?
Is there some solution to this case? Thanks.
Here is my tour config, and all related step configs:
Hey @RusinovAnton, I think the only way I can make a change to help is to expose the getNextStep() function which will tell you if the next enabled step is before or after the redirect. I don't want to start adding more data to the scope because that adds complexity, but exposing more on the tour object could be useful. It would still be a private function for now though, so using it would be at your own risk of unreported breaking changes.
Hello, thanks for you work on this project, very appreciated.
I am using the exact versions of the following:
I have installed this library via: Bower
I have observed the following behavior:
I have around 25 steps on different pages and I need to check whether user has permission to see some steps. Now I have issue when my step with
on-next
redirect is disabled the tour breaks down, because redirect function wasn't run and I have no next enabled step on my page.This is how I expected it to behave:
Maybe I could run
on-next
redirect function for last disabled step before enabled one?Is there some solution to this case? Thanks.
Here is my tour config, and all related step configs:
Additional notes/code:
The text was updated successfully, but these errors were encountered: