Skip to content

Commit 5131a79

Browse files
committed
fix test
1 parent 7b5cdf2 commit 5131a79

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/list/list.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ export class MatListItem extends _MatListItemMixinBase implements AfterContentIn
152152
=======
153153
constructor(private _renderer: Renderer2,
154154
private _element: ElementRef,
155-
@Optional() private _list: MdList,
156155
@Optional() private _navList: MdNavList) {
157156
>>>>>>> demo(list): Add accessibility demo page for list
158157
super();
@@ -165,7 +164,7 @@ export class MatListItem extends _MatListItemMixinBase implements AfterContentIn
165164

166165
/** Whether this list item should show a ripple effect when clicked. */
167166
_isRippleDisabled() {
168-
return !this._isNavList || this.disableRipple || this._list.disableRipple;
167+
return !this._isNavList || this.disableRipple || this._navList.disableRipple;
169168
}
170169

171170
_handleFocus() {

0 commit comments

Comments
 (0)