|
|
@ -38,8 +38,6 @@ export function getInitialData(injector: Injector) { |
|
|
tap(() => checkAccessToken(injector)), |
|
|
tap(() => checkAccessToken(injector)), |
|
|
tap(() => { |
|
|
tap(() => { |
|
|
const currentTenant = configState.getOne('currentTenant') as CurrentTenantDto; |
|
|
const currentTenant = configState.getOne('currentTenant') as CurrentTenantDto; |
|
|
if (!currentTenant?.id) return; |
|
|
|
|
|
|
|
|
|
|
|
injector.get(SessionStateService).setTenant(currentTenant); |
|
|
injector.get(SessionStateService).setTenant(currentTenant); |
|
|
}), |
|
|
}), |
|
|
) |
|
|
) |
|
|
|