Browse Source
The @ViewChild decorator for 'table' uses the definite assignment assertion (!) but doesn't specify the static option
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/24636/head
Fahri Gedik
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
npm/ng-packs/packages/components/extensible/src/lib/components/extensible-table/extensible-table.component.ts
|
|
|
@ -144,7 +144,7 @@ export class ExtensibleTableComponent<R = any> implements OnChanges, AfterViewIn |
|
|
|
@ContentChild(ExtensibleTableRowDetailComponent) |
|
|
|
rowDetailComponent?: ExtensibleTableRowDetailComponent<R>; |
|
|
|
|
|
|
|
@ViewChild('table') table!: DatatableComponent; |
|
|
|
@ViewChild('table', { static: false }) table!: DatatableComponent; |
|
|
|
|
|
|
|
/** Gets the effective row detail template (from component or direct input) */ |
|
|
|
get effectiveRowDetailTemplate(): TemplateRef<any> | undefined { |
|
|
|
|