Skip to content

Commit

Permalink
Update change detection
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Nov 24, 2023
1 parent 3d98734 commit 97cca49
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/app/showcase/layout/doc/app.docsection.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, Input } from '@angular/core';
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { Doc } from 'src/app/showcase/domain/doc';

@Component({
Expand Down Expand Up @@ -33,7 +33,8 @@ import { Doc } from 'src/app/showcase/domain/doc';
</ng-container>
</section>
</ng-container>
`
`,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class AppDocSectionsComponent {
@Input() docs!: Doc[];
Expand Down
2 changes: 1 addition & 1 deletion src/app/showcase/pages/table/tabledemo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ import { PaginatorLocaleDoc } from '../../doc/table/paginatorlocaledoc';
export class TableDemo {
docs = [
{
id: 'import',
id: 'import-demo',
label: 'Import',
component: ImportDoc
},
Expand Down
2 changes: 1 addition & 1 deletion src/app/showcase/pages/treetable/treetabledemo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { ResizeScrollableDoc } from '../../doc/treetable/columnresizescrollabled
export class TreeTableDemo {
docs = [
{
id: 'import',
id: 'import-demo',
label: 'Import',
component: ImportDoc
},
Expand Down

1 comment on commit 97cca49

@vercel
Copy link

@vercel vercel bot commented on 97cca49 Nov 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.