File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,6 @@ export class MatListItem extends _MatListItemMixinBase implements AfterContentIn
146
146
147
147
constructor ( private _renderer : Renderer2 ,
148
148
private _element : ElementRef ,
149
- @Optional ( ) private _list : MatList ,
150
149
@Optional ( ) private _navList : MatNavList ) {
151
150
super ( ) ;
152
151
this . _isNavList = ! ! _navList ;
@@ -158,7 +157,7 @@ export class MatListItem extends _MatListItemMixinBase implements AfterContentIn
158
157
159
158
/** Whether this list item should show a ripple effect when clicked. */
160
159
_isRippleDisabled ( ) {
161
- return ! this . _isNavList || this . disableRipple || this . _list . disableRipple ;
160
+ return ! this . _isNavList || this . disableRipple || this . _navList . disableRipple ;
162
161
}
163
162
164
163
_handleFocus ( ) {
You can’t perform that action at this time.
0 commit comments