diff --git a/src/app/showcase/layout/doc/app.docsection.component.ts b/src/app/showcase/layout/doc/app.docsection.component.ts index 882cc42d4c6..7d7fa1a0c1f 100644 --- a/src/app/showcase/layout/doc/app.docsection.component.ts +++ b/src/app/showcase/layout/doc/app.docsection.component.ts @@ -1,11 +1,11 @@ -import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, signal } from '@angular/core'; import { Doc } from 'src/app/showcase/domain/doc'; @Component({ selector: 'app-docsection', template: ` -
+
@@ -23,7 +23,7 @@ import { Doc } from 'src/app/showcase/domain/doc'; -
+
@@ -40,4 +40,8 @@ export class AppDocSectionsComponent { @Input() docs!: Doc[]; @Input() apiDocs!: any[]; + + trackById(doc) { + return doc.id || undefined; + } }