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
If the button is pressed on local environment, the user would be redirected to exactly the same page, but in prod, e.g. http://localhost:4200/angular/forms/built-in -> https://codelab.fun/angular/forms/built-in
If the user is in prod, the user would be redirected to the local version https://codelab.fun/angular/forms/built-in -> http://localhost:4200/angular/forms/built-in
Add a new button to the list of buttons:
If the button is pressed on local environment, the user would be redirected to exactly the same page, but in prod, e.g.
http://localhost:4200/angular/forms/built-in
->https://codelab.fun/angular/forms/built-in
If the user is in prod, the user would be redirected to the local version
https://codelab.fun/angular/forms/built-in
->http://localhost:4200/angular/forms/built-in
To make the button visible only for admins:
use oldIsAdmin$ Observable from AccessService To only display the button for admins.
The text was updated successfully, but these errors were encountered: