Design Customer Page #3
Reference in New Issue
Block a user
Delete Branch "routing-fixed"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The base url (localhost:4200/) now redirects to localhost:4200/#/login If the user is not logged in, this is determined via the customer data added to the localstorage anytime the user signs in; however, on signout, the localstorage is cleared. If the user is logged in, they redirected to localhost:4200/#/customer-information
I tried removing the hash by deleting this:
RouterModule.forRoot(routes, {
useHash: true,
}), but it didn't work; the page just displays a blank screen.
Navigating to the /customer-information page without signing in displays a disorderly user interface (but there is no need to worry about it because even if the user tries to navigate to the page when not logged in, they will be redirected to the /login page). I will still resolve this in the future, but otherwise, everything is working fine.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.