Skip to content

Commit

Permalink
[front: editLogs] concatAll > mergeAll : on veut préserver l'ordre in…
Browse files Browse the repository at this point in the history
…itial. Fix #458
  • Loading branch information
t8g committed Sep 25, 2017
1 parent b9d21df commit c00ca3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/app/isari-data.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export class IsariDataService {
// RxJS FTW ?!
Observable.combineLatest([
(<Observable<any>>Observable.merge(logs$)
.mergeAll())
.concatAll())
.scan((acc, value, i) => [...acc, value], [])
.take(logs$.length)
.last(),
Expand Down

0 comments on commit c00ca3f

Please sign in to comment.