diff --git a/npm/ng-packs/packages/theme-basic/src/lib/components/empty-layout/empty-layout.component.ts b/npm/ng-packs/packages/theme-basic/src/lib/components/empty-layout/empty-layout.component.ts index 0f4ed86ce0..77e6f2a8e4 100644 --- a/npm/ng-packs/packages/theme-basic/src/lib/components/empty-layout/empty-layout.component.ts +++ b/npm/ng-packs/packages/theme-basic/src/lib/components/empty-layout/empty-layout.component.ts @@ -8,7 +8,7 @@ import { eLayoutType } from '@abp/ng.core'; `, }) -export class EmptyLayout { +export class EmptyLayoutComponent { // required for dynamic component static type = eLayoutType.empty; } diff --git a/npm/ng-packs/packages/theme-basic/src/lib/theme-basic.module.ts b/npm/ng-packs/packages/theme-basic/src/lib/theme-basic.module.ts index 3d1ac17169..a978a5c3da 100644 --- a/npm/ng-packs/packages/theme-basic/src/lib/theme-basic.module.ts +++ b/npm/ng-packs/packages/theme-basic/src/lib/theme-basic.module.ts @@ -4,7 +4,7 @@ import { NgbCollapseModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap import { ChangePasswordComponent } from './components/change-password/change-password.component'; import { AccountLayoutComponent } from './components/account-layout/account-layout.component'; import { ApplicationLayoutComponent } from './components/application-layout/application-layout.component'; -import { EmptyLayout } from './components/empty-layout/empty-layout.component'; +import { EmptyLayoutComponent } from './components/empty-layout/empty-layout.component'; import { LayoutComponent } from './components/layout/layout.component'; import { ProfileComponent } from './components/profile/profile.component'; import { ThemeSharedModule } from '@abp/ng.theme.shared'; @@ -13,7 +13,7 @@ import { NgxValidateCoreModule } from '@ngx-validate/core'; import { NgxsModule } from '@ngxs/store'; import { LayoutState } from './states/layout.state'; -export const LAYOUTS = [ApplicationLayoutComponent, AccountLayoutComponent, EmptyLayout]; +export const LAYOUTS = [ApplicationLayoutComponent, AccountLayoutComponent, EmptyLayoutComponent]; @NgModule({ declarations: [...LAYOUTS, LayoutComponent, ChangePasswordComponent, ProfileComponent],