mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
add missing DataColumn module to DataTable (#5512)
* add missing DataColumn module to DataTable * fix import path
This commit is contained in:
@@ -20,7 +20,6 @@ import { CoreTestingModule } from '../../testing/core.testing.module';
|
||||
import { setupTestBed } from '../../testing/setup-test-bed';
|
||||
import { AboutApplicationModulesComponent } from './about-application-modules.component';
|
||||
import { MatTableModule } from '@angular/material/table';
|
||||
import { DataColumnModule } from '../../data-column/data-column.module';
|
||||
import { DataTableModule } from '../../datatable/datatable.module';
|
||||
import { mockDependencies, mockPlugins } from '../about.mock';
|
||||
|
||||
@@ -29,7 +28,7 @@ describe('AboutApplicationModulesComponent', () => {
|
||||
let component: AboutApplicationModulesComponent;
|
||||
|
||||
setupTestBed({
|
||||
imports: [CoreTestingModule, MatTableModule, DataColumnModule, DataTableModule]
|
||||
imports: [CoreTestingModule, MatTableModule, DataTableModule]
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
|
@@ -22,7 +22,6 @@ import { AboutProductVersionComponent } from './about-product-version.component'
|
||||
import { DiscoveryApiService } from '../../services/discovery-api.service';
|
||||
import { AuthenticationService } from '../../services/authentication.service';
|
||||
import { of } from 'rxjs';
|
||||
import { DataColumnModule } from '../../data-column/data-column.module';
|
||||
import { DataTableModule } from '../../datatable/datatable.module';
|
||||
import { MatCardModule } from '@angular/material';
|
||||
import { aboutAPSMockDetails, mockModules } from '../about.mock';
|
||||
@@ -33,7 +32,7 @@ describe('AboutProductVersionComponent', () => {
|
||||
let discoveryApiService: DiscoveryApiService;
|
||||
|
||||
setupTestBed({
|
||||
imports: [CoreTestingModule, DataColumnModule, DataTableModule, MatCardModule]
|
||||
imports: [CoreTestingModule, DataTableModule, MatCardModule]
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
|
@@ -20,7 +20,6 @@ import { NgModule } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { MaterialModule } from '../material.module';
|
||||
import { DataTableModule } from '../datatable/datatable.module';
|
||||
import { DataColumnModule } from '../data-column/data-column.module';
|
||||
import { AboutApplicationModulesComponent } from './about-application-modules/about-application-modules.component';
|
||||
import { AboutProductVersionComponent } from './about-product-version/about-product-version.component';
|
||||
import { AboutGithubLinkComponent } from './about-github-link/about-github-link.component';
|
||||
@@ -29,9 +28,8 @@ import { AboutGithubLinkComponent } from './about-github-link/about-github-link.
|
||||
imports: [
|
||||
CommonModule,
|
||||
MaterialModule,
|
||||
TranslateModule.forChild(),
|
||||
DataTableModule,
|
||||
DataColumnModule
|
||||
TranslateModule,
|
||||
DataTableModule
|
||||
],
|
||||
declarations: [
|
||||
AboutApplicationModulesComponent,
|
||||
|
@@ -44,13 +44,15 @@ import { CustomNoPermissionTemplateDirective } from './directives/custom-no-perm
|
||||
import { JsonCellComponent } from './components/datatable/json-cell.component';
|
||||
import { ClipboardModule } from '../clipboard/clipboard.module';
|
||||
import { DropZoneDirective } from './components/datatable/drop-zone.directive';
|
||||
import { DataColumnModule } from '../data-column/data-column.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
RouterModule,
|
||||
MaterialModule,
|
||||
CommonModule,
|
||||
TranslateModule.forChild(),
|
||||
TranslateModule,
|
||||
DataColumnModule,
|
||||
ContextMenuModule,
|
||||
PipeModule,
|
||||
DirectiveModule,
|
||||
|
Reference in New Issue
Block a user