diff --git a/npm/ng-packs/packages/core/src/lib/services/session-state.service.ts b/npm/ng-packs/packages/core/src/lib/services/session-state.service.ts index 4f7194024e..bdc53fa26c 100644 --- a/npm/ng-packs/packages/core/src/lib/services/session-state.service.ts +++ b/npm/ng-packs/packages/core/src/lib/services/session-state.service.ts @@ -1,8 +1,8 @@ import { Injectable } from '@angular/core'; import compare from 'just-compare'; import { filter, take } from 'rxjs/operators'; -import { ApplicationConfiguration } from '../models/application-configuration'; import { Session } from '../models/session'; +import { CurrentTenantDto } from '../proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models'; import { InternalStore } from '../utils/internal-store-utils'; import { ConfigStateService } from './config-state.service'; @@ -78,7 +78,7 @@ export class SessionStateService { return this.store.sliceState(state => state.tenant); } - setTenant(tenant: ApplicationConfiguration.CurrentTenant) { + setTenant(tenant: CurrentTenantDto) { if (compare(tenant, this.store.state.tenant)) return; this.store.patch({ tenant });