From 6cb1ba812ad8ed2540bb1e5acad997cd77a64fcb Mon Sep 17 00:00:00 2001 From: adwd Date: Mon, 9 Dec 2019 17:28:02 +0900 Subject: [PATCH 1/2] avoid to export NbTable component --- src/framework/theme/components/cdk/table/table.module.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/framework/theme/components/cdk/table/table.module.ts b/src/framework/theme/components/cdk/table/table.module.ts index ebfd8d1a2d..f5148ca4b6 100644 --- a/src/framework/theme/components/cdk/table/table.module.ts +++ b/src/framework/theme/components/cdk/table/table.module.ts @@ -46,8 +46,6 @@ export class NbTable extends CdkTable { } const COMPONENTS = [ - NbTable, - // Template defs NbHeaderCellDefDirective, NbHeaderRowDefDirective, From c7c6ff9ab897ee661eeee8ada7a08e66e86424c0 Mon Sep 17 00:00:00 2001 From: Sergey Andrievskiy Date: Fri, 13 Mar 2020 20:19:41 +0300 Subject: [PATCH 2/2] fix(table): add selector to table component Fixes: More than one component matched on this element. Make sure that only one component's selector can match a given element. Conflicting components: NbTable,CdkTable --- src/framework/theme/components/cdk/table/table.module.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/framework/theme/components/cdk/table/table.module.ts b/src/framework/theme/components/cdk/table/table.module.ts index 9a9ba2f2f6..f0be016366 100644 --- a/src/framework/theme/components/cdk/table/table.module.ts +++ b/src/framework/theme/components/cdk/table/table.module.ts @@ -32,6 +32,7 @@ export const NB_TABLE_TEMPLATE = ` `; @Component({ + selector: 'nb-table-not-implemented', template: ``, }) // tslint:disable-next-line:component-class-suffix @@ -50,6 +51,8 @@ export class NbTable extends CdkTable { } const COMPONENTS = [ + NbTable, + // Template defs NbHeaderCellDefDirective, NbHeaderRowDefDirective,