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
The callback gets called only once after the user logs into the platform. The callback doesn't get called for further requests. Hence the url path doesn't change based on the callback.
It is possible the request might be getting cached as well. I couldn't test if the request is getting cached or not because the callback doesn't run the second time ever.
I have reproduced this issue in Formula Fork with latest unfold version 0.22. Check here summerthe/formula@b23d552
As a fix, for the superadmin, the callback should return the driver's URL with a print in the terminal. For the staff user group url and print in the terminal on each request.
The text was updated successfully, but these errors were encountered:
Hi @lukasvinclav this issue is related to #300 where the request was getting cached.
I have a link callback in the sidebar navigation. The URL path of it changes based on the type of user. But there are possibly two problems:
I have reproduced this issue in Formula Fork with latest unfold version 0.22. Check here summerthe/formula@b23d552
As a fix, for the superadmin, the callback should return the driver's URL with a print in the terminal. For the staff user group url and print in the terminal on each request.
The text was updated successfully, but these errors were encountered: