Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
varnastadeus committed Feb 22, 2018
1 parent 9005007 commit 21c9476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng-select/ng-select.component.ts
Expand Up @@ -457,7 +457,7 @@ export class NgSelectComponent implements OnInit, OnDestroy, OnChanges, AfterVie
}

const handleOptionChange = () => {
const changedOrDestroyed = merge(this.options.changes, this._destroy$);
const changedOrDestroyed = merge(this.ngOptions.changes, this._destroy$);
merge(...this.ngOptions.map(option => option.stateChange$))
.pipe(takeUntil(changedOrDestroyed))
.subscribe(option => {
Expand Down

0 comments on commit 21c9476

Please sign in to comment.