refactor user accounts structure

This commit is contained in:
2026-03-16 00:35:34 +03:30
parent 20be653499
commit 3c9f6eed1d
286 changed files with 2812 additions and 1133 deletions
+5 -5
View File
@@ -60,18 +60,18 @@ export class AuthComponent {
if (!redirectUrl) {
switch (this.selectedRole()) {
case 'SUPERADMIN':
redirectUrl = '/super_admin';
break;
case 'ADMIN':
redirectUrl = '/super_admin';
break;
case 'POS':
redirectUrl = '/pos';
case 'PROVIDER':
redirectUrl = '/provider';
break;
case 'PARTNER':
redirectUrl = '/partner';
break;
case 'CONSUMER':
redirectUrl = '/consumer';
break;
}
}
this.router.navigateByUrl(redirectUrl);