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 have a ngrx effect for load data for init my app from service http and I want redirect to url in case of error while the data is loaded. The problem is the redirect is not working and the page is blank and there is no code in the result page.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a ngrx effect for load data for init my app from service http and I want redirect to url in case of error while the data is loaded. The problem is the redirect is not working and the page is blank and there is no code in the result page.
In my app.modules:
In my @ngModules uses this provider
This is effect for load data from service:
And this effect is for handled error:
And in the browser shows the page blank without any html rendered.
<app-root></app-root>
Any ideas?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions