Skip to content

Commit a2f7be5

Browse files
committed
refactor(material/tabs): remove explicit change detection
Now that `OnPush` is the default, we can remove it from the metadata.
1 parent a41c0e6 commit a2f7be5

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/material/tabs/tab-nav-bar/tab-nav-bar.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ export class MatTabNav extends MatPaginatedTabHeader implements AfterContentInit
246246
@Component({
247247
selector: '[mat-tab-link], [matTabLink]',
248248
exportAs: 'matTabLink',
249-
changeDetection: ChangeDetectionStrategy.OnPush,
250249
encapsulation: ViewEncapsulation.None,
251250
templateUrl: 'tab-link.html',
252251
styleUrl: 'tab-link.css',
@@ -436,7 +435,6 @@ export class MatTabLink
436435
'role': 'tabpanel',
437436
},
438437
encapsulation: ViewEncapsulation.None,
439-
changeDetection: ChangeDetectionStrategy.OnPush,
440438
})
441439
export class MatTabNavPanel {
442440
/** Unique id for the tab panel. */

0 commit comments

Comments
 (0)