260707_2
This commit is contained in:
@@ -122,7 +122,7 @@ export async function renderCurrentRoute(outlet: HTMLElement): Promise<void> {
|
||||
navigateTo(ROUTES.A06_LOGIN);
|
||||
return;
|
||||
}
|
||||
if (!user.company_id) {
|
||||
if (!user.company_id && user.role !== "SYSTEM_ADMIN") {
|
||||
navigateTo(ROUTES.B01_ACCOUNT);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user