Skip to content

Commit

Permalink
fix: Categories sort compareFunction return to -1 from 0 in Picker co…
Browse files Browse the repository at this point in the history
…mponent
  • Loading branch information
scttcper committed Mar 28, 2018
1 parent 453cfe0 commit 17d5863
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/picker/picker.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ export class PickerComponent implements OnInit, AfterViewInit {
if (this.include.indexOf(a.id) > this.include.indexOf(b.id)) {
return 1;
}

return 0;
return -1;
});
}

Expand Down

0 comments on commit 17d5863

Please sign in to comment.