use only specific modules needed for page layout

This commit is contained in:
Denys Vuika
2023-02-10 17:22:46 -05:00
parent 942cc3012b
commit 0e605dc9c0

View File

@@ -29,10 +29,11 @@ import { PageLayoutErrorComponent } from './page-layout-error.component';
import { PageLayoutHeaderComponent } from './page-layout-header.component';
import { PageLayoutComponent } from './page-layout.component';
import { CommonModule } from '@angular/common';
import { CoreModule } from '@alfresco/adf-core';
import { MatIconModule } from '@angular/material/icon';
import { TranslateModule } from '@ngx-translate/core';
@NgModule({
imports: [CommonModule, CoreModule.forChild()],
imports: [CommonModule, MatIconModule, TranslateModule],
declarations: [PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent, PageLayoutComponent],
exports: [PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent, PageLayoutComponent]
})