Skip to content

Commit

Permalink
fix(typeahead): optionsListTemplate usage is fixed in TypeaheadContai…
Browse files Browse the repository at this point in the history
…nerComponent (#1625)
  • Loading branch information
jboroczki authored and valorkin committed Feb 28, 2017
1 parent 183b275 commit f21bd8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typeahead/typeahead-container.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { TypeaheadMatch } from './typeahead-match.class';
// tslint:disable-next-line
template: `
<!-- inject options list template -->
<template [ngTemplateOutlet]="optionsListTemplate || isBs4 ? bs4Template : bs3Template"
<template [ngTemplateOutlet]="optionsListTemplate || (isBs4 ? bs4Template : bs3Template)"
[ngOutletContext]="{matches:matches, itemTemplate:itemTemplate, query:query}"></template>
<!-- default options item template -->
Expand Down

0 comments on commit f21bd8d

Please sign in to comment.