feat: Implement sales order management, customer and address creation modals, and a login page with new image assets.
This commit is contained in:
@@ -75,7 +75,7 @@ export class LoginComponent implements OnInit, AfterViewInit {
|
||||
this.authService.setDataInLocalStorage('user', JSON.stringify(res.data));
|
||||
this.authService.setDataInLocalStorage('token', res.data.token);
|
||||
localStorage.removeItem('cart');
|
||||
this.router.navigate(['/menu']);
|
||||
this.router.navigate(['/sales/menu']);
|
||||
} else {
|
||||
this.loadingIcon = '';
|
||||
this.showErrorMessage(res.message);
|
||||
|
||||
Reference in New Issue
Block a user